OLD | NEW |
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_DEFAULT_ACCESS_POLICY_H_ | 5 #ifndef SERVICES_UI_WS_DEFAULT_ACCESS_POLICY_H_ |
6 #define COMPONENTS_MUS_WS_DEFAULT_ACCESS_POLICY_H_ | 6 #define SERVICES_UI_WS_DEFAULT_ACCESS_POLICY_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "components/mus/ws/access_policy.h" | 11 #include "services/ui/ws/access_policy.h" |
12 | 12 |
13 namespace mus { | 13 namespace mus { |
14 namespace ws { | 14 namespace ws { |
15 | 15 |
16 class AccessPolicyDelegate; | 16 class AccessPolicyDelegate; |
17 | 17 |
18 // AccessPolicy for all clients, except the window manager. | 18 // AccessPolicy for all clients, except the window manager. |
19 class DefaultAccessPolicy : public AccessPolicy { | 19 class DefaultAccessPolicy : public AccessPolicy { |
20 public: | 20 public: |
21 DefaultAccessPolicy(); | 21 DefaultAccessPolicy(); |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 | 66 |
67 ClientSpecificId client_id_ = 0u; | 67 ClientSpecificId client_id_ = 0u; |
68 AccessPolicyDelegate* delegate_ = nullptr; | 68 AccessPolicyDelegate* delegate_ = nullptr; |
69 | 69 |
70 DISALLOW_COPY_AND_ASSIGN(DefaultAccessPolicy); | 70 DISALLOW_COPY_AND_ASSIGN(DefaultAccessPolicy); |
71 }; | 71 }; |
72 | 72 |
73 } // namespace ws | 73 } // namespace ws |
74 } // namespace mus | 74 } // namespace mus |
75 | 75 |
76 #endif // COMPONENTS_MUS_WS_DEFAULT_ACCESS_POLICY_H_ | 76 #endif // SERVICES_UI_WS_DEFAULT_ACCESS_POLICY_H_ |
OLD | NEW |