Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / ui / views / examples / content_client / examples_browser_main_parts.cc
index 1cbee03..7edc668 100644 (file)
@@ -15,7 +15,6 @@
 #include "content/shell/browser/shell_browser_context.h"
 #include "ui/base/ime/input_method_initializer.h"
 #include "ui/views/examples/examples_window_with_content.h"
-#include "ui/views/focus/accelerator_handler.h"
 #include "ui/views/test/desktop_test_views_delegate.h"
 #include "url/gurl.h"
 
@@ -87,13 +86,7 @@ void ExamplesBrowserMainParts::PostMainMessageLoopRun() {
 }
 
 bool ExamplesBrowserMainParts::MainMessageLoopRun(int* result_code) {
-  // xxx: Hax here because this kills event handling.
-#if !defined(USE_AURA)
-  AcceleratorHandler accelerator_handler;
-  base::RunLoop run_loop(&accelerator_handler);
-#else
   base::RunLoop run_loop;
-#endif
   run_loop.Run();
   return true;
 }