diff options
Diffstat (limited to 'ui/aura/root_window_host.h')
-rw-r--r-- | ui/aura/root_window_host.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ui/aura/root_window_host.h b/ui/aura/root_window_host.h index a6c7c53..4af42ac 100644 --- a/ui/aura/root_window_host.h +++ b/ui/aura/root_window_host.h @@ -23,7 +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) +#if defined(OS_MACOSX) || defined(OS_WIN) class RootWindowHost { #else class RootWindowHost : public MessageLoop::Dispatcher { @@ -86,6 +86,11 @@ 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 }; |