summaryrefslogtreecommitdiffstats
path: root/ui/aura/root_window_host.h
diff options
context:
space:
mode:
authorbeng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-25 00:09:23 +0000
committerbeng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-25 00:09:23 +0000
commitbca7497622b009bca0597c48f8c43ec0a7121fbd (patch)
tree5c6ef8df8f8010a12a2c60a84d2ec8b2a96a7662 /ui/aura/root_window_host.h
parent1ec8ebdcc88980cc4fd819fd020159c2bdb1f098 (diff)
downloadchromium_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.h')
-rw-r--r--ui/aura/root_window_host.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/ui/aura/root_window_host.h b/ui/aura/root_window_host.h
index 4af42ac..e41e8fd 100644
--- a/ui/aura/root_window_host.h
+++ b/ui/aura/root_window_host.h
@@ -23,11 +23,7 @@ class RootWindow;
// RootWindowHost bridges between a native window and the embedded RootWindow.
// It provides the accelerated widget and maps events from the native os to
// aura.
-#if defined(OS_MACOSX) || defined(OS_WIN)
class RootWindowHost {
-#else
-class RootWindowHost : public MessageLoop::Dispatcher {
-#endif // defined(OS_MACOSX)
public:
virtual ~RootWindowHost() {}
@@ -86,11 +82,6 @@ class RootWindowHost : public MessageLoop::Dispatcher {
// Posts |native_event| to the platform's event queue.
#if !defined(OS_MACOSX)
virtual void PostNativeEvent(const base::NativeEvent& native_event) = 0;
-
-#if !defined(OS_WIN)
- // See documentation for RootWindow::GetDispatcher().
- virtual MessageLoop::Dispatcher* GetDispatcher() = 0;
-#endif
#endif
};