OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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_TEST_MUS_TEST_WINDOW_MANAGER_CLIENT_H_ | 5 #ifndef UI_AURA_TEST_MUS_TEST_WINDOW_MANAGER_CLIENT_H_ |
6 #define UI_AURA_TEST_MUS_TEST_WINDOW_MANAGER_CLIENT_H_ | 6 #define UI_AURA_TEST_MUS_TEST_WINDOW_MANAGER_CLIENT_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
(...skipping 30 matching lines...) Expand all Loading... |
41 bool is_primary_display, | 41 bool is_primary_display, |
42 Id window_id, | 42 Id window_id, |
43 const SetDisplayRootCallback& callback) override; | 43 const SetDisplayRootCallback& callback) override; |
44 void WmResponse(uint32_t change_id, bool response) override; | 44 void WmResponse(uint32_t change_id, bool response) override; |
45 void WmSetBoundsResponse(uint32_t change_id) override; | 45 void WmSetBoundsResponse(uint32_t change_id) override; |
46 void WmRequestClose(Id transport_window_id) override; | 46 void WmRequestClose(Id transport_window_id) override; |
47 void WmSetFrameDecorationValues( | 47 void WmSetFrameDecorationValues( |
48 ui::mojom::FrameDecorationValuesPtr values) override; | 48 ui::mojom::FrameDecorationValuesPtr values) override; |
49 void WmSetNonClientCursor(uint32_t window_id, | 49 void WmSetNonClientCursor(uint32_t window_id, |
50 ui::CursorData cursor_data) override; | 50 ui::CursorData cursor_data) override; |
| 51 void WmLockCursor() override; |
| 52 void WmUnlockCursor() override; |
| 53 void WmShowCursor() override; |
| 54 void WmHideCursor() override; |
| 55 void WmSetGlobalOverrideCursor( |
| 56 base::Optional<ui::CursorData> cursor) override; |
51 void OnWmCreatedTopLevelWindow(uint32_t change_id, | 57 void OnWmCreatedTopLevelWindow(uint32_t change_id, |
52 Id transport_window_id) override; | 58 Id transport_window_id) override; |
53 void OnAcceleratorAck( | 59 void OnAcceleratorAck( |
54 uint32_t event_id, | 60 uint32_t event_id, |
55 ui::mojom::EventResult result, | 61 ui::mojom::EventResult result, |
56 const std::unordered_map<std::string, std::vector<uint8_t>>& properties) | 62 const std::unordered_map<std::string, std::vector<uint8_t>>& properties) |
57 override; | 63 override; |
58 | 64 |
59 std::vector<WindowManagerClientChangeType> changes_; | 65 std::vector<WindowManagerClientChangeType> changes_; |
60 | 66 |
61 DISALLOW_COPY_AND_ASSIGN(TestWindowManagerClient); | 67 DISALLOW_COPY_AND_ASSIGN(TestWindowManagerClient); |
62 }; | 68 }; |
63 | 69 |
64 } // namespace aura | 70 } // namespace aura |
65 | 71 |
66 #endif // UI_AURA_TEST_MUS_TEST_WINDOW_MANAGER_CLIENT_H_ | 72 #endif // UI_AURA_TEST_MUS_TEST_WINDOW_MANAGER_CLIENT_H_ |
OLD | NEW |