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

Side by Side Diff: services/ui/ws/default_access_policy.cc

Issue 2119963002: Move mus to //services/ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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 unified diff | Download patch
« no previous file with comments | « services/ui/ws/default_access_policy.h ('k') | services/ui/ws/display.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/mus/ws/default_access_policy.h" 5 #include "services/ui/ws/default_access_policy.h"
6 6
7 #include "components/mus/ws/access_policy_delegate.h" 7 #include "services/ui/ws/access_policy_delegate.h"
8 #include "components/mus/ws/server_window.h" 8 #include "services/ui/ws/server_window.h"
9 9
10 namespace mus { 10 namespace mus {
11 namespace ws { 11 namespace ws {
12 12
13 DefaultAccessPolicy::DefaultAccessPolicy() {} 13 DefaultAccessPolicy::DefaultAccessPolicy() {}
14 14
15 DefaultAccessPolicy::~DefaultAccessPolicy() {} 15 DefaultAccessPolicy::~DefaultAccessPolicy() {}
16 16
17 void DefaultAccessPolicy::Init(ClientSpecificId client_id, 17 void DefaultAccessPolicy::Init(ClientSpecificId client_id,
18 AccessPolicyDelegate* delegate) { 18 AccessPolicyDelegate* delegate) {
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 bool DefaultAccessPolicy::IsValidIdForNewWindow( 194 bool DefaultAccessPolicy::IsValidIdForNewWindow(
195 const ClientWindowId& id) const { 195 const ClientWindowId& id) const {
196 // Clients using DefaultAccessPolicy only see windows they have created (for 196 // Clients using DefaultAccessPolicy only see windows they have created (for
197 // the embed point they choose the id), so it's ok for clients to use whatever 197 // the embed point they choose the id), so it's ok for clients to use whatever
198 // id they want. 198 // id they want.
199 return true; 199 return true;
200 } 200 }
201 201
202 } // namespace ws 202 } // namespace ws
203 } // namespace mus 203 } // namespace mus
OLDNEW
« no previous file with comments | « services/ui/ws/default_access_policy.h ('k') | services/ui/ws/display.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698