Index: ui/aura/root_window_host.h |
diff --git a/ui/aura/root_window_host.h b/ui/aura/root_window_host.h |
index 47bba42b8e40aa74f785282931147f31a0d3d2f5..c886baa2ca41b00a9e8fb199934fdba62546d4fa 100644 |
--- a/ui/aura/root_window_host.h |
+++ b/ui/aura/root_window_host.h |
@@ -18,6 +18,7 @@ class Size; |
namespace aura { |
+class MouseEvent; |
class RootWindow; |
// RootWindowHost bridges between a native window and the embedded RootWindow. |
@@ -92,6 +93,15 @@ class RootWindowHost { |
#if !defined(OS_MACOSX) |
virtual void PostNativeEvent(const base::NativeEvent& native_event) = 0; |
#endif |
+ |
+ // Used to enable or disable the native window borders on a window. |
+ virtual void SetUseOSWindowBorders(bool use_os_borders) = 0; |
+ |
+ // Signal to the OS that it should start acting as if we're dragging the |
+ // window, either for movement or resizing. Returns true if we need to stop |
+ // event propagation. |
+ virtual bool DispatchWindowDragMovement(int hittest, |
+ MouseEvent* event) = 0; |
}; |
} // namespace aura |