Index: mojo/services/view_manager/public/cpp/view.h |
diff --git a/mojo/services/view_manager/public/cpp/view.h b/mojo/services/view_manager/public/cpp/view.h |
index 8569616aefb5802e963de67fd02d76887b8d5c9f..8a2ca72a689fbdb311b5b595404182cda0182d01 100644 |
--- a/mojo/services/view_manager/public/cpp/view.h |
+++ b/mojo/services/view_manager/public/cpp/view.h |
@@ -103,6 +103,7 @@ class View { |
View* parent() { return parent_; } |
const View* parent() const { return parent_; } |
const Children& children() const { return children_; } |
+ View* GetRoot(); |
sky
2014/12/16 03:44:19
Inline and const_cast like we do for other types?
|
const View* GetRoot() const; |
void AddChild(View* child); |