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

Unified Diff: components/view_manager/public/cpp/view_tree_connection.h

Issue 1317713006: Changes around how embed roots are set (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cleanup Created 5 years, 3 months 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: components/view_manager/public/cpp/view_tree_connection.h
diff --git a/components/view_manager/public/cpp/view_tree_connection.h b/components/view_manager/public/cpp/view_tree_connection.h
index cdda24af10bf91e9c4dd86a8b2db6ac8c96f2e3c..b3928cae0f0ad5acb4724be2614e1f549c67ff26 100644
--- a/components/view_manager/public/cpp/view_tree_connection.h
+++ b/components/view_manager/public/cpp/view_tree_connection.h
@@ -41,8 +41,8 @@ class ViewTreeConnection {
// are initially hidden, use SetVisible(true) to show.
virtual View* CreateView() = 0;
- // Set view_tree.mojom for details.
- virtual void SetEmbedRoot() = 0;
+ // Returns true if kAccessPolicyEmbedRoot was specified.
+ virtual bool IsEmbedRoot() = 0;
};
} // namespace mojo

Powered by Google App Engine
This is Rietveld 408576698