Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(509)

Unified Diff: ui/aura/root_window_host.h

Issue 10789018: aura: Add X11 host window management. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Keep ash switches alphabetized. Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698