Chromium Code Reviews| 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..35903848582789f5359d6d4ca62fec97839c4b08 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 SetUseHostWindowBorders(bool use_os_borders) = 0; |
|
Ben Goodger (Google)
2012/05/10 14:52:58
So I'd rather not expose chrome-ui related functio
|
| + |
| + // 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 DispatchHostWindowDragMovement(int hittest, |
| + MouseEvent* event) = 0; |
|
Ben Goodger (Google)
2012/05/10 14:52:58
similar to above. seems like you could attach a he
|
| }; |
| } // namespace aura |