OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 UI_AURA_MUS_WINDOW_MANAGER_DELEGATE_H_ | 5 #ifndef UI_AURA_MUS_WINDOW_MANAGER_DELEGATE_H_ |
6 #define UI_AURA_MUS_WINDOW_MANAGER_DELEGATE_H_ | 6 #define UI_AURA_MUS_WINDOW_MANAGER_DELEGATE_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
(...skipping 30 matching lines...) Expand all Loading... |
41 | 41 |
42 struct WindowTreeHostMusInitParams; | 42 struct WindowTreeHostMusInitParams; |
43 | 43 |
44 // See the mojom with the same name for details on the functions in this | 44 // See the mojom with the same name for details on the functions in this |
45 // interface. | 45 // interface. |
46 class AURA_EXPORT WindowManagerClient { | 46 class AURA_EXPORT WindowManagerClient { |
47 public: | 47 public: |
48 virtual void SetFrameDecorationValues( | 48 virtual void SetFrameDecorationValues( |
49 ui::mojom::FrameDecorationValuesPtr values) = 0; | 49 ui::mojom::FrameDecorationValuesPtr values) = 0; |
50 virtual void SetNonClientCursor(Window* window, | 50 virtual void SetNonClientCursor(Window* window, |
51 ui::mojom::CursorType non_client_cursor) = 0; | 51 const ui::CursorData& non_client_cursor) = 0; |
52 | 52 |
53 virtual void AddAccelerators( | 53 virtual void AddAccelerators( |
54 std::vector<ui::mojom::WmAcceleratorPtr> accelerators, | 54 std::vector<ui::mojom::WmAcceleratorPtr> accelerators, |
55 const base::Callback<void(bool)>& callback) = 0; | 55 const base::Callback<void(bool)>& callback) = 0; |
56 virtual void RemoveAccelerator(uint32_t id) = 0; | 56 virtual void RemoveAccelerator(uint32_t id) = 0; |
57 virtual void AddActivationParent(Window* window) = 0; | 57 virtual void AddActivationParent(Window* window) = 0; |
58 virtual void RemoveActivationParent(Window* window) = 0; | 58 virtual void RemoveActivationParent(Window* window) = 0; |
59 virtual void ActivateNextWindow() = 0; | 59 virtual void ActivateNextWindow() = 0; |
60 virtual void SetExtendedHitArea(Window* window, | 60 virtual void SetExtendedHitArea(Window* window, |
61 const gfx::Insets& hit_area) = 0; | 61 const gfx::Insets& hit_area) = 0; |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 // window. | 193 // window. |
194 virtual void OnWmDeactivateWindow(Window* window) = 0; | 194 virtual void OnWmDeactivateWindow(Window* window) = 0; |
195 | 195 |
196 protected: | 196 protected: |
197 virtual ~WindowManagerDelegate() {} | 197 virtual ~WindowManagerDelegate() {} |
198 }; | 198 }; |
199 | 199 |
200 } // namespace ui | 200 } // namespace ui |
201 | 201 |
202 #endif // UI_AURA_MUS_WINDOW_MANAGER_DELEGATE_H_ | 202 #endif // UI_AURA_MUS_WINDOW_MANAGER_DELEGATE_H_ |
OLD | NEW |