| 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 28 matching lines...) Expand all Loading... |
| 39 class Window; | 39 class Window; |
| 40 class WindowTreeHostMus; | 40 class WindowTreeHostMus; |
| 41 | 41 |
| 42 // See the mojom with the same name for details on the functions in this | 42 // See the mojom with the same name for details on the functions in this |
| 43 // interface. | 43 // interface. |
| 44 class AURA_EXPORT WindowManagerClient { | 44 class AURA_EXPORT WindowManagerClient { |
| 45 public: | 45 public: |
| 46 virtual void SetFrameDecorationValues( | 46 virtual void SetFrameDecorationValues( |
| 47 ui::mojom::FrameDecorationValuesPtr values) = 0; | 47 ui::mojom::FrameDecorationValuesPtr values) = 0; |
| 48 virtual void SetNonClientCursor(Window* window, | 48 virtual void SetNonClientCursor(Window* window, |
| 49 ui::mojom::Cursor non_client_cursor) = 0; | 49 ui::mojom::CursorType non_client_cursor) = 0; |
| 50 | 50 |
| 51 virtual void AddAccelerators( | 51 virtual void AddAccelerators( |
| 52 std::vector<ui::mojom::WmAcceleratorPtr> accelerators, | 52 std::vector<ui::mojom::WmAcceleratorPtr> accelerators, |
| 53 const base::Callback<void(bool)>& callback) = 0; | 53 const base::Callback<void(bool)>& callback) = 0; |
| 54 virtual void RemoveAccelerator(uint32_t id) = 0; | 54 virtual void RemoveAccelerator(uint32_t id) = 0; |
| 55 virtual void AddActivationParent(Window* window) = 0; | 55 virtual void AddActivationParent(Window* window) = 0; |
| 56 virtual void RemoveActivationParent(Window* window) = 0; | 56 virtual void RemoveActivationParent(Window* window) = 0; |
| 57 virtual void ActivateNextWindow() = 0; | 57 virtual void ActivateNextWindow() = 0; |
| 58 virtual void SetExtendedHitArea(Window* window, | 58 virtual void SetExtendedHitArea(Window* window, |
| 59 const gfx::Insets& hit_area) = 0; | 59 const gfx::Insets& hit_area) = 0; |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 // window. | 183 // window. |
| 184 virtual void OnWmDeactivateWindow(Window* window) = 0; | 184 virtual void OnWmDeactivateWindow(Window* window) = 0; |
| 185 | 185 |
| 186 protected: | 186 protected: |
| 187 virtual ~WindowManagerDelegate() {} | 187 virtual ~WindowManagerDelegate() {} |
| 188 }; | 188 }; |
| 189 | 189 |
| 190 } // namespace ui | 190 } // namespace ui |
| 191 | 191 |
| 192 #endif // UI_AURA_MUS_WINDOW_MANAGER_DELEGATE_H_ | 192 #endif // UI_AURA_MUS_WINDOW_MANAGER_DELEGATE_H_ |
| OLD | NEW |