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

Unified Diff: ui/views/widget/widget_observer.h

Issue 11414266: Hide new Autofill Popup on Main Widget Resize or Move. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years 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/views/widget/widget.cc ('k') | ui/views/widget/widget_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/widget_observer.h
diff --git a/ui/views/widget/widget_observer.h b/ui/views/widget/widget_observer.h
index ba9539ed1ff3f25bb150350615d45d998423ba79..3a769ad293521602c84336d4d8b02fca10b5301e 100644
--- a/ui/views/widget/widget_observer.h
+++ b/ui/views/widget/widget_observer.h
@@ -7,6 +7,10 @@
#include "ui/views/views_export.h"
+namespace gfx {
+class Rect;
+}
+
namespace views {
class Widget;
@@ -20,7 +24,8 @@ class VIEWS_EXPORT WidgetObserver {
virtual void OnWidgetActivationChanged(Widget* widget, bool active) {}
- virtual void OnWidgetMoved(Widget* widget) {}
+ virtual void OnWidgetBoundsChanged(Widget* widget,
+ const gfx::Rect& new_bounds) {}
protected:
virtual ~WidgetObserver() {}
« no previous file with comments | « ui/views/widget/widget.cc ('k') | ui/views/widget/widget_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698