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

Unified Diff: ui/aura/window_delegate.h

Issue 7890054: Adds code for a new Aura shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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
« no previous file with comments | « ui/aura/window.cc ('k') | ui/aura/window_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window_delegate.h
===================================================================
--- ui/aura/window_delegate.h (revision 101422)
+++ ui/aura/window_delegate.h (working copy)
@@ -9,6 +9,7 @@
namespace gfx {
class Canvas;
class Point;
+class Rect;
}
namespace aura {
@@ -19,6 +20,10 @@
// Delegate interface for aura::Window.
class WindowDelegate {
public:
+ // Called when the Window's position and/or size changes.
+ virtual void OnBoundsChanged(const gfx::Rect& old_bounds,
+ const gfx::Rect& new_bounds) = 0;
+
// Sent to the Window's delegate when the Window gains or loses focus.
virtual void OnFocus() = 0;
virtual void OnBlur() = 0;
« no previous file with comments | « ui/aura/window.cc ('k') | ui/aura/window_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698