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

Unified Diff: mojo/services/view_manager/public/cpp/view.h

Issue 805123003: Adds capture to the mojo window_manager. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Cleanup Created 6 years 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
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);

Powered by Google App Engine
This is Rietveld 408576698