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

Unified Diff: ui/aura/root_window_host.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_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

Powered by Google App Engine
This is Rietveld 408576698