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 COMPONENTS_MUS_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ | 5 #ifndef COMPONENTS_MUS_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ |
6 #define COMPONENTS_MUS_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ | 6 #define COMPONENTS_MUS_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <set> | 10 #include <set> |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 void SetImeVisibility(uint32_t window_id, | 92 void SetImeVisibility(uint32_t window_id, |
93 bool visible, | 93 bool visible, |
94 mojo::TextInputStatePtr state) override; | 94 mojo::TextInputStatePtr state) override; |
95 void OnWindowInputEventAck(uint32_t event_id, | 95 void OnWindowInputEventAck(uint32_t event_id, |
96 mus::mojom::EventResult result) override; | 96 mus::mojom::EventResult result) override; |
97 void GetWindowManagerClient( | 97 void GetWindowManagerClient( |
98 mojo::AssociatedInterfaceRequest<mojom::WindowManagerClient> internal) | 98 mojo::AssociatedInterfaceRequest<mojom::WindowManagerClient> internal) |
99 override; | 99 override; |
100 void GetCursorLocationMemory(const GetCursorLocationMemoryCallback& callback) | 100 void GetCursorLocationMemory(const GetCursorLocationMemoryCallback& callback) |
101 override; | 101 override; |
| 102 void PerformWindowMove(uint32_t change_id, |
| 103 uint32_t window_id, |
| 104 const gfx::Point& cursor_location) override; |
| 105 void CancelWindowMove(uint32_t window_id) override; |
102 | 106 |
103 bool got_change_; | 107 bool got_change_; |
104 uint32_t change_id_; | 108 uint32_t change_id_; |
105 std::set<uint32_t> acked_events_; | 109 std::set<uint32_t> acked_events_; |
106 uint32_t window_id_; | 110 uint32_t window_id_; |
107 | 111 |
108 DISALLOW_COPY_AND_ASSIGN(TestWindowTree); | 112 DISALLOW_COPY_AND_ASSIGN(TestWindowTree); |
109 }; | 113 }; |
110 | 114 |
111 } // namespace mus | 115 } // namespace mus |
112 | 116 |
113 #endif // COMPONENTS_MUS_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ | 117 #endif // COMPONENTS_MUS_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ |
OLD | NEW |