diff options
Diffstat (limited to 'views/widget/widget.h')
-rw-r--r-- | views/widget/widget.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/views/widget/widget.h b/views/widget/widget.h index f9e961d..829a9d0f 100644 --- a/views/widget/widget.h +++ b/views/widget/widget.h @@ -143,6 +143,10 @@ class Widget { // Returns the FocusManager for this widget. // Note that all widgets in a widget hierarchy share the same focus manager. virtual FocusManager* GetFocusManager() { return NULL; } + + // Forwarded from the RootView so that the widget can do any cleanup. + virtual void ViewHierarchyChanged(bool is_add, View *parent, + View *child) = 0; }; } // namespace views |