Index: mojo/services/view_manager/node_delegate.h |
diff --git a/mojo/services/view_manager/node_delegate.h b/mojo/services/view_manager/node_delegate.h |
index ca4254ed62c87364f24f35d0b3cfa43db2634309..1ad2ee77ca042b0c1be9adbdccc58403d8e641bf 100644 |
--- a/mojo/services/view_manager/node_delegate.h |
+++ b/mojo/services/view_manager/node_delegate.h |
@@ -24,6 +24,10 @@ class View; |
class MOJO_VIEW_MANAGER_EXPORT NodeDelegate { |
public: |
+ // Invoked at the end of the Node's destructor (after it has been removed from |
+ // the hierarchy and its active view has been reset). |
+ virtual void OnNodeDestroyed(const Node* node) = 0; |
+ |
// Invoked when the hierarchy has changed. |
virtual void OnNodeHierarchyChanged(const Node* node, |
const Node* new_parent, |