diff options
author | beng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-25 00:09:23 +0000 |
---|---|---|
committer | beng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-25 00:09:23 +0000 |
commit | bca7497622b009bca0597c48f8c43ec0a7121fbd (patch) | |
tree | 5c6ef8df8f8010a12a2c60a84d2ec8b2a96a7662 /ui/aura/root_window_host_linux.h | |
parent | 1ec8ebdcc88980cc4fd819fd020159c2bdb1f098 (diff) | |
download | chromium_src-bca7497622b009bca0597c48f8c43ec0a7121fbd.zip chromium_src-bca7497622b009bca0597c48f8c43ec0a7121fbd.tar.gz chromium_src-bca7497622b009bca0597c48f8c43ec0a7121fbd.tar.bz2 |
Moves the Linux dispatcher into its own object.
Like DispatcherWin, DispatcherLinux is owned by the Env singleton.
http://crbug.com/112131
TEST=compiles, tests pass
Review URL: https://chromiumcodereview.appspot.com/9447048
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123597 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/aura/root_window_host_linux.h')
-rw-r--r-- | ui/aura/root_window_host_linux.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/ui/aura/root_window_host_linux.h b/ui/aura/root_window_host_linux.h index 8fc4fa9..0d05b7b 100644 --- a/ui/aura/root_window_host_linux.h +++ b/ui/aura/root_window_host_linux.h @@ -23,10 +23,10 @@ class RootWindowHostLinux : public RootWindowHost, explicit RootWindowHostLinux(const gfx::Rect& bounds); virtual ~RootWindowHostLinux(); - private: - // MessageLoop::Dispatcher Override. - virtual DispatchStatus Dispatch(XEvent* xev) OVERRIDE; + // Handles an event targeted at this host's window. + base::MessagePumpDispatcher::DispatchStatus Dispatch(XEvent* xev); + private: // RootWindowHost Overrides. virtual void SetRootWindow(RootWindow* root_window) OVERRIDE; virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; @@ -44,7 +44,6 @@ class RootWindowHostLinux : public RootWindowHost, virtual void UnConfineCursor() OVERRIDE; virtual void MoveCursorTo(const gfx::Point& location) OVERRIDE; virtual void PostNativeEvent(const base::NativeEvent& event) OVERRIDE; - virtual MessageLoop::Dispatcher* GetDispatcher() OVERRIDE; // MessageLoop::DestructionObserver Overrides. virtual void WillDestroyCurrentMessageLoop() OVERRIDE; |