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

Unified Diff: mojo/services/view_manager/default_access_policy.cc

Issue 474883003: Move focus from the view manager to the window manager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 4 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 | « mojo/services/view_manager/default_access_policy.h ('k') | mojo/services/view_manager/node.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/view_manager/default_access_policy.cc
diff --git a/mojo/services/view_manager/default_access_policy.cc b/mojo/services/view_manager/default_access_policy.cc
index 519714f6cf3b026ece758b37f4302cb10c3061ef..7f87051f0b6e115ffea0b95ae75596cdabfbb3eb 100644
--- a/mojo/services/view_manager/default_access_policy.cc
+++ b/mojo/services/view_manager/default_access_policy.cc
@@ -46,11 +46,6 @@ bool DefaultAccessPolicy::CanDeleteNode(const Node* node) const {
return WasCreatedByThisConnection(node);
}
-bool DefaultAccessPolicy::CanSetFocus(const Node* node) const {
- // TODO(beng): security.
- return true;
-}
-
bool DefaultAccessPolicy::CanGetNodeTree(const Node* node) const {
return WasCreatedByThisConnection(node) || IsNodeInRoots(node);
}
« no previous file with comments | « mojo/services/view_manager/default_access_policy.h ('k') | mojo/services/view_manager/node.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698