Index: mojo/services/public/cpp/view_manager/view.h |
diff --git a/mojo/services/public/cpp/view_manager/view.h b/mojo/services/public/cpp/view_manager/view.h |
index 3f8ff98e9fa21fbffe9366347b5b2b5a3159beb2..7b224452528ec3fbefa55965af0ead3d54858fb4 100644 |
--- a/mojo/services/public/cpp/view_manager/view.h |
+++ b/mojo/services/public/cpp/view_manager/view.h |
@@ -38,6 +38,8 @@ class View { |
// Destroys this view and all its children. |
void Destroy(); |
+ ViewManager* view_manager() { return manager_; } |
+ |
// Configuration. |
Id id() const { return id_; } |