Chromium Code Reviews| 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); |