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

Unified Diff: ui/aura/root_window.h

Issue 10381063: Aura/ash split: Don't use X11 window borders. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Now with windows/mac implementations Created 8 years, 7 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 708fa6cefbfee9b5889dec3e30397806b0f97e5f..af90f24464dfd07856c2a09ba154ecfbfd4dab83 100644
--- a/ui/aura/root_window.h
+++ b/ui/aura/root_window.h
@@ -136,6 +136,9 @@ class AURA_EXPORT RootWindow : public ui::CompositorDelegate,
// Draw the whole screen.
void ScheduleFullDraw();
+ // Used to enable or disable the native window borders on a window.
+ void SetUseOSWindowBorders(bool use_os_borders);
Daniel Erat 2012/05/09 20:58:27 Mind renaming this to something like SetUseHostWin
+
// Handles a mouse event. Returns true if handled.
bool DispatchMouseEvent(MouseEvent* event);
@@ -153,6 +156,10 @@ class AURA_EXPORT RootWindow : public ui::CompositorDelegate,
// events are dispatched from GestureRecognizer instead of RootWindowHost.
bool DispatchGestureEvent(GestureEvent* event);
+ // Handles when we're told that the operating system should move the
+ // window. Returns true if handled.
+ bool DispatchWindowDragMovement(int hittest, MouseEvent* event);
Daniel Erat 2012/05/09 20:58:27 DispatchHostWindowDragMovement()?
+
// Called when the host changes size.
void OnHostResized(const gfx::Size& size_in_pixel);

Powered by Google App Engine
This is Rietveld 408576698