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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 void WmResponse(uint32_t change_id, bool response) override; | 49 void WmResponse(uint32_t change_id, bool response) override; |
50 void WmSetBoundsResponse(uint32_t change_id) override; | 50 void WmSetBoundsResponse(uint32_t change_id) override; |
51 void WmRequestClose(Id transport_window_id) override; | 51 void WmRequestClose(Id transport_window_id) override; |
52 void WmSetFrameDecorationValues( | 52 void WmSetFrameDecorationValues( |
53 ui::mojom::FrameDecorationValuesPtr values) override; | 53 ui::mojom::FrameDecorationValuesPtr values) override; |
54 void WmSetNonClientCursor(uint32_t window_id, | 54 void WmSetNonClientCursor(uint32_t window_id, |
55 ui::CursorData cursor_data) override; | 55 ui::CursorData cursor_data) override; |
56 void WmLockCursor() override; | 56 void WmLockCursor() override; |
57 void WmUnlockCursor() override; | 57 void WmUnlockCursor() override; |
58 void WmSetCursorVisible(bool visible) override; | 58 void WmSetCursorVisible(bool visible) override; |
| 59 void WmSetCursorSize(ui::CursorSize cursor_size) override; |
59 void WmSetGlobalOverrideCursor( | 60 void WmSetGlobalOverrideCursor( |
60 base::Optional<ui::CursorData> cursor) override; | 61 base::Optional<ui::CursorData> cursor) override; |
61 void WmMoveCursorToDisplayLocation(const gfx::Point& display_pixels, | 62 void WmMoveCursorToDisplayLocation(const gfx::Point& display_pixels, |
62 int64_t display_id) override; | 63 int64_t display_id) override; |
63 void OnWmCreatedTopLevelWindow(uint32_t change_id, | 64 void OnWmCreatedTopLevelWindow(uint32_t change_id, |
64 Id transport_window_id) override; | 65 Id transport_window_id) override; |
65 void OnAcceleratorAck( | 66 void OnAcceleratorAck( |
66 uint32_t event_id, | 67 uint32_t event_id, |
67 ui::mojom::EventResult result, | 68 ui::mojom::EventResult result, |
68 const std::unordered_map<std::string, std::vector<uint8_t>>& properties) | 69 const std::unordered_map<std::string, std::vector<uint8_t>>& properties) |
69 override; | 70 override; |
70 | 71 |
71 std::vector<WindowManagerClientChangeType> changes_; | 72 std::vector<WindowManagerClientChangeType> changes_; |
72 | 73 |
73 DISALLOW_COPY_AND_ASSIGN(TestWindowManagerClient); | 74 DISALLOW_COPY_AND_ASSIGN(TestWindowManagerClient); |
74 }; | 75 }; |
75 | 76 |
76 } // namespace aura | 77 } // namespace aura |
77 | 78 |
78 #endif // UI_AURA_TEST_MUS_TEST_WINDOW_MANAGER_CLIENT_H_ | 79 #endif // UI_AURA_TEST_MUS_TEST_WINDOW_MANAGER_CLIENT_H_ |
OLD | NEW |