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

Unified Diff: ui/aura/root_window_observer.h

Issue 10828133: Desktop Aura: Allow tab drags out of window. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Better mouse tracking Created 8 years, 4 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_observer.h
diff --git a/ui/aura/root_window_observer.h b/ui/aura/root_window_observer.h
index 9f4cfd9ba5e7a0b9c828eb9c5b753c14205679c1..eca78b14a97abc36ab13ea7a675b8f35d0783f92 100644
--- a/ui/aura/root_window_observer.h
+++ b/ui/aura/root_window_observer.h
@@ -8,6 +8,7 @@
#include "ui/aura/aura_export.h"
namespace gfx {
+class Point;
class Size;
}
@@ -21,6 +22,10 @@ class AURA_EXPORT RootWindowObserver {
virtual void OnRootWindowResized(const RootWindow* root,
const gfx::Size& old_size) {}
+ // Invoked after the RootWindow has been moved on screen.
+ virtual void OnRootWindowMoved(const RootWindow* root,
+ const gfx::Point& new_origin) {}
+
// Invoked when the native windowing system sends us a request to close our
// window.
virtual void OnRootWindowHostClosed(const RootWindow* root) {}

Powered by Google App Engine
This is Rietveld 408576698