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

Side by Side Diff: services/ui/ws/access_policy.h

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/accelerator.cc ('k') | services/ui/ws/access_policy_delegate.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 #ifndef COMPONENTS_MUS_WS_ACCESS_POLICY_H_ 5 #ifndef SERVICES_UI_WS_ACCESS_POLICY_H_
6 #define COMPONENTS_MUS_WS_ACCESS_POLICY_H_ 6 #define SERVICES_UI_WS_ACCESS_POLICY_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "components/mus/public/interfaces/mus_constants.mojom.h" 10 #include "services/ui/public/interfaces/mus_constants.mojom.h"
11 #include "components/mus/public/interfaces/window_tree.mojom.h" 11 #include "services/ui/public/interfaces/window_tree.mojom.h"
12 #include "components/mus/ws/ids.h" 12 #include "services/ui/ws/ids.h"
13 13
14 namespace mus { 14 namespace mus {
15 namespace ws { 15 namespace ws {
16 16
17 class AccessPolicyDelegate; 17 class AccessPolicyDelegate;
18 class ServerWindow; 18 class ServerWindow;
19 19
20 // AccessPolicy is used by WindowTree to determine what the WindowTree is 20 // AccessPolicy is used by WindowTree to determine what the WindowTree is
21 // allowed to do. 21 // allowed to do.
22 class AccessPolicy { 22 class AccessPolicy {
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 // Returns the window to supply to the client when focus changes to |focused|. 74 // Returns the window to supply to the client when focus changes to |focused|.
75 virtual const ServerWindow* GetWindowForFocusChange( 75 virtual const ServerWindow* GetWindowForFocusChange(
76 const ServerWindow* focused) = 0; 76 const ServerWindow* focused) = 0;
77 77
78 virtual bool IsValidIdForNewWindow(const ClientWindowId& id) const = 0; 78 virtual bool IsValidIdForNewWindow(const ClientWindowId& id) const = 0;
79 }; 79 };
80 80
81 } // namespace ws 81 } // namespace ws
82 } // namespace mus 82 } // namespace mus
83 83
84 #endif // COMPONENTS_MUS_WS_ACCESS_POLICY_H_ 84 #endif // SERVICES_UI_WS_ACCESS_POLICY_H_
OLDNEW
« no previous file with comments | « services/ui/ws/accelerator.cc ('k') | services/ui/ws/access_policy_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698