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

Unified Diff: ui/aura/root_window.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.h
diff --git a/ui/aura/root_window.h b/ui/aura/root_window.h
index 54ad60773957bfcc16d13eb0f861204eefdfaedf..41b58375f1498c312faa83d779c3afca0cdfdd7d 100644
--- a/ui/aura/root_window.h
+++ b/ui/aura/root_window.h
@@ -139,6 +139,9 @@ class AURA_EXPORT RootWindow : public ui::CompositorDelegate,
// Draw the whole screen.
void ScheduleFullDraw();
+ // Handles a |native_event| event. Returns true if handled.
+ bool DispatchNativeEvent(const base::NativeEvent& native_event);
+
// Handles a mouse event. Returns true if handled.
bool DispatchMouseEvent(MouseEvent* event);
@@ -178,6 +181,9 @@ class AURA_EXPORT RootWindow : public ui::CompositorDelegate,
// keycodes and keysyms) has changed.
void OnKeyboardMappingChanged();
+ // Invoked when the cursor has changed.
+ void OnCursorChanged(ui::PlatformCursor cursor);
+
// The system windowing system has sent a request that we close our window.
void OnRootWindowHostClosed();
@@ -215,6 +221,9 @@ class AURA_EXPORT RootWindow : public ui::CompositorDelegate,
// Returns the accelerated widget from the RootWindowHost.
gfx::AcceleratedWidget GetAcceleratedWidget();
+ // Returns the accelerated widget used for events from the RootWindowHost.
+ gfx::AcceleratedWidget GetAcceleratedWidgetUsedForEvents();
+
// Toggles the host's full screen state.
void ToggleFullScreen();

Powered by Google App Engine
This is Rietveld 408576698