Index: ui/aura/root_window_host.h |
diff --git a/ui/aura/root_window_host.h b/ui/aura/root_window_host.h |
index b053a55fc4f69f33ec8fdfc084effad0d99e6841..db3ba33f8e22b9a18249a6362882fd5854b5957b 100644 |
--- a/ui/aura/root_window_host.h |
+++ b/ui/aura/root_window_host.h |
@@ -48,6 +48,9 @@ class RootWindowHost { |
// Returns the accelerated widget. |
virtual gfx::AcceleratedWidget GetAcceleratedWidget() = 0; |
+ // Returns the accelerated widget used for event processing. |
+ virtual gfx::AcceleratedWidget GetAcceleratedWidgetUsedForEvents() = 0; |
+ |
// Shows the RootWindowHost. |
virtual void Show() = 0; |
@@ -98,6 +101,7 @@ class RootWindowHost { |
// Posts |native_event| to the platform's event queue. |
#if !defined(OS_MACOSX) |
virtual void PostNativeEvent(const base::NativeEvent& native_event) = 0; |
+ virtual bool DispatchNativeEvent(const base::NativeEvent& native_event) = 0; |
#endif |
// Called when the device scale factor of the root window has chagned. |