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

Unified Diff: components/view_manager/server_view.cc

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
« no previous file with comments | « components/view_manager/server_view.h ('k') | components/view_manager/view_manager_client_apptest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/view_manager/server_view.cc
diff --git a/components/view_manager/server_view.cc b/components/view_manager/server_view.cc
index fe90ac9db9194262f1dafe2a26dae39a745bd485..8c4f69d80713464a82dc1429807cc3f1feab6dcb 100644
--- a/components/view_manager/server_view.cc
+++ b/components/view_manager/server_view.cc
@@ -23,14 +23,13 @@ void CallCallback(const mojo::Closure& callback, cc::SurfaceDrawStatus status) {
} // namespace
-ServerView::ServerView(ServerViewDelegate* delegate,
- const ViewId& id)
+ServerView::ServerView(ServerViewDelegate* delegate, const ViewId& id)
: delegate_(delegate),
id_(id),
parent_(nullptr),
visible_(false),
opacity_(1),
- allows_reembed_(false),
+ pending_access_policy_(mojo::ViewTree::ACCESS_POLICY_DEFAULT),
// Don't notify newly added observers during notification. This causes
// problems for code that adds an observer as part of an observer
// notification (such as ServerViewDrawTracker).
« no previous file with comments | « components/view_manager/server_view.h ('k') | components/view_manager/view_manager_client_apptest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698