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 SERVICES_UI_WS_WINDOW_MANAGER_ACCESS_POLICY_H_ | 5 #ifndef SERVICES_UI_WS_WINDOW_MANAGER_ACCESS_POLICY_H_ |
6 #define SERVICES_UI_WS_WINDOW_MANAGER_ACCESS_POLICY_H_ | 6 #define SERVICES_UI_WS_WINDOW_MANAGER_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" |
(...skipping 23 matching lines...) Expand all Loading... |
34 bool CanReorderWindow(const ServerWindow* window, | 34 bool CanReorderWindow(const ServerWindow* window, |
35 const ServerWindow* relative_window, | 35 const ServerWindow* relative_window, |
36 mojom::OrderDirection direction) const override; | 36 mojom::OrderDirection direction) const override; |
37 bool CanDeleteWindow(const ServerWindow* window) const override; | 37 bool CanDeleteWindow(const ServerWindow* window) const override; |
38 bool CanGetWindowTree(const ServerWindow* window) const override; | 38 bool CanGetWindowTree(const ServerWindow* window) const override; |
39 bool CanDescendIntoWindowForWindowTree( | 39 bool CanDescendIntoWindowForWindowTree( |
40 const ServerWindow* window) const override; | 40 const ServerWindow* window) const override; |
41 bool CanEmbed(const ServerWindow* window) const override; | 41 bool CanEmbed(const ServerWindow* window) const override; |
42 bool CanChangeWindowVisibility(const ServerWindow* window) const override; | 42 bool CanChangeWindowVisibility(const ServerWindow* window) const override; |
43 bool CanChangeWindowOpacity(const ServerWindow* window) const override; | 43 bool CanChangeWindowOpacity(const ServerWindow* window) const override; |
44 bool CanSetWindowSurface(const ServerWindow* window, | 44 bool CanSetWindowCompositorFrameSink( |
45 ui::mojom::SurfaceType surface_type) const override; | 45 const ServerWindow* window, |
| 46 ui::mojom::CompositorFrameSinkType compositor_frame_sink_type) |
| 47 const override; |
46 bool CanSetWindowBounds(const ServerWindow* window) const override; | 48 bool CanSetWindowBounds(const ServerWindow* window) const override; |
47 bool CanSetWindowProperties(const ServerWindow* window) const override; | 49 bool CanSetWindowProperties(const ServerWindow* window) const override; |
48 bool CanSetWindowTextInputState(const ServerWindow* window) const override; | 50 bool CanSetWindowTextInputState(const ServerWindow* window) const override; |
49 bool CanSetCapture(const ServerWindow* window) const override; | 51 bool CanSetCapture(const ServerWindow* window) const override; |
50 bool CanSetFocus(const ServerWindow* window) const override; | 52 bool CanSetFocus(const ServerWindow* window) const override; |
51 bool CanSetClientArea(const ServerWindow* window) const override; | 53 bool CanSetClientArea(const ServerWindow* window) const override; |
52 bool CanSetHitTestMask(const ServerWindow* window) const override; | 54 bool CanSetHitTestMask(const ServerWindow* window) const override; |
53 bool CanSetAcceptDrops(const ServerWindow* window) const override; | 55 bool CanSetAcceptDrops(const ServerWindow* window) const override; |
54 bool CanSetAcceptEvents(const ServerWindow* window) const override; | 56 bool CanSetAcceptEvents(const ServerWindow* window) const override; |
55 bool CanSetCursorProperties(const ServerWindow* window) const override; | 57 bool CanSetCursorProperties(const ServerWindow* window) const override; |
(...skipping 15 matching lines...) Expand all Loading... |
71 ClientSpecificId client_id_ = 0u; | 73 ClientSpecificId client_id_ = 0u; |
72 AccessPolicyDelegate* delegate_ = nullptr; | 74 AccessPolicyDelegate* delegate_ = nullptr; |
73 | 75 |
74 DISALLOW_COPY_AND_ASSIGN(WindowManagerAccessPolicy); | 76 DISALLOW_COPY_AND_ASSIGN(WindowManagerAccessPolicy); |
75 }; | 77 }; |
76 | 78 |
77 } // namespace ws | 79 } // namespace ws |
78 } // namespace ui | 80 } // namespace ui |
79 | 81 |
80 #endif // SERVICES_UI_WS_WINDOW_MANAGER_ACCESS_POLICY_H_ | 82 #endif // SERVICES_UI_WS_WINDOW_MANAGER_ACCESS_POLICY_H_ |
OLD | NEW |