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

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

Issue 196603003: Reland r256396 Add views implementation for AXTreeSource. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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/views/widget/widget.cc ('k') | no next file » | 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 fc13afae682799dff309bba9db4f7681b625a4f5..59029ae54e22e2ddbb4c4af9238c63529b52c973 100644
--- a/ui/views/widget/widget_observer.h
+++ b/ui/views/widget/widget_observer.h
@@ -14,6 +14,7 @@ class Rect;
namespace views {
class Widget;
+class View;
// Observers can listen to various events on the Widgets.
class VIEWS_EXPORT WidgetObserver {
@@ -45,6 +46,9 @@ class VIEWS_EXPORT WidgetObserver {
virtual void OnWidgetBoundsChanged(Widget* widget,
const gfx::Rect& new_bounds) {}
+ // Called after a descendant view of |widget| is removed.
+ virtual void OnViewRemoved(Widget* widget, View* view) {}
+
protected:
virtual ~WidgetObserver() {}
};
« no previous file with comments | « ui/views/widget/widget.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698