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

Unified Diff: components/mus/window_manager_access_policy.cc

Issue 1352043005: mus: Implement Window Server Capture Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added a test 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/mus/window_manager_access_policy.cc
diff --git a/components/mus/window_manager_access_policy.cc b/components/mus/window_manager_access_policy.cc
index 7e9e5b0d6472d570daaf4b0367ee159b3fb18233..e20a26b09517719941c8a892c0eb05d7a0d47ea6 100644
--- a/components/mus/window_manager_access_policy.cc
+++ b/components/mus/window_manager_access_policy.cc
@@ -83,6 +83,10 @@ bool WindowManagerAccessPolicy::CanSetViewTextInputState(
return view->id().connection_id == connection_id_;
}
+bool WindowManagerAccessPolicy::CanSetCapture(const ServerView* view) const {
+ return true;
+}
+
bool WindowManagerAccessPolicy::CanSetFocus(const ServerView* view) const {
return true;
}
« components/mus/view_tree_apptest.cc ('K') | « components/mus/window_manager_access_policy.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698