summaryrefslogtreecommitdiffstats
path: root/views/window/window_delegate.h
diff options
context:
space:
mode:
Diffstat (limited to 'views/window/window_delegate.h')
-rw-r--r--views/window/window_delegate.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/views/window/window_delegate.h b/views/window/window_delegate.h
index 379276c..d1a350a 100644
--- a/views/window/window_delegate.h
+++ b/views/window/window_delegate.h
@@ -10,6 +10,7 @@
#include "base/scoped_ptr.h"
#include "ui/base/accessibility/accessibility_types.h"
+#include "views/widget/widget_delegate.h"
class SkBitmap;
@@ -33,7 +34,7 @@ class Window;
// it should be displayed and notify the delegate object of certain events.
//
///////////////////////////////////////////////////////////////////////////////
-class WindowDelegate {
+class WindowDelegate : public WidgetDelegate {
public:
WindowDelegate();
virtual ~WindowDelegate();
@@ -117,7 +118,11 @@ class WindowDelegate {
virtual void DeleteDelegate() {}
// Called when the window's activation state changes.
- virtual void OnWindowActivate(bool active) {}
+ virtual void OnWindowActivationChanged(bool active) {}
+
+ // Called when the user begins/ends to change the bounds of the window.
+ virtual void OnWindowBeginUserBoundsChange() {}
+ virtual void OnWindowEndUserBoundsChange() {}
// Returns the View that is contained within this Window.
virtual View* GetContentsView();