Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / ui / aura / env.h
index 9e3e7aa..78fc2ef 100644 (file)
@@ -6,7 +6,6 @@
 #define UI_AURA_ENV_H_
 
 #include "base/memory/scoped_ptr.h"
-#include "base/message_loop/message_pump_dispatcher.h"
 #include "base/observer_list.h"
 #include "ui/aura/aura_export.h"
 #include "ui/events/event_handler.h"
@@ -28,9 +27,6 @@ class InputStateLookup;
 class RootWindow;
 class Window;
 
-// Creates a platform-specific native event dispatcher.
-base::MessagePumpDispatcher* CreateDispatcher();
-
 // A singleton object that tracks general state within Aura.
 // TODO(beng): manage RootWindows.
 class AURA_EXPORT Env : public ui::EventTarget {
@@ -63,11 +59,6 @@ class AURA_EXPORT Env : public ui::EventTarget {
   bool is_touch_down() const { return is_touch_down_; }
   void set_touch_down(bool value) { is_touch_down_ = value; }
 
-  // Returns the native event dispatcher. The result should only be passed to
-  // base::RunLoop(dispatcher), or used to dispatch an event by
-  // |Dispatch(const NativeEvent&)| on it. It must never be stored.
-  base::MessagePumpDispatcher* GetDispatcher();
-
   // Invoked by RootWindow when its host is activated.
   void RootWindowActivated(RootWindow* root_window);
 
@@ -91,7 +82,6 @@ class AURA_EXPORT Env : public ui::EventTarget {
   virtual ui::EventTargeter* GetEventTargeter() OVERRIDE;
 
   ObserverList<EnvObserver> observers_;
-  scoped_ptr<base::MessagePumpDispatcher> dispatcher_;
 
   static Env* instance_;
   int mouse_button_flags_;