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

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: merge to trunk 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..5e01111446db6bbbf4d924a7d414703d260dc95d 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 ACCESS_POLICY_EMBED_ROOT was specified.
+ virtual bool IsEmbedRoot() = 0;
};
} // namespace mojo
« no previous file with comments | « components/view_manager/public/cpp/view.h ('k') | components/view_manager/public/interfaces/view_tree.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698