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_TEST_MUS_TEST_WINDOW_TREE_H_ | 5 #ifndef UI_AURA_TEST_MUS_TEST_WINDOW_TREE_H_ |
6 #define UI_AURA_TEST_MUS_TEST_WINDOW_TREE_H_ | 6 #define UI_AURA_TEST_MUS_TEST_WINDOW_TREE_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 void StartPointerWatcher(bool want_moves) override; | 168 void StartPointerWatcher(bool want_moves) override; |
169 void StopPointerWatcher() override; | 169 void StopPointerWatcher() override; |
170 void Embed(uint32_t window_id, | 170 void Embed(uint32_t window_id, |
171 ui::mojom::WindowTreeClientPtr client, | 171 ui::mojom::WindowTreeClientPtr client, |
172 uint32_t flags, | 172 uint32_t flags, |
173 const EmbedCallback& callback) override; | 173 const EmbedCallback& callback) override; |
174 void SetFocus(uint32_t change_id, uint32_t window_id) override; | 174 void SetFocus(uint32_t change_id, uint32_t window_id) override; |
175 void SetCanFocus(uint32_t window_id, bool can_focus) override; | 175 void SetCanFocus(uint32_t window_id, bool can_focus) override; |
176 void SetEventTargetingPolicy(uint32_t window_id, | 176 void SetEventTargetingPolicy(uint32_t window_id, |
177 ui::mojom::EventTargetingPolicy policy) override; | 177 ui::mojom::EventTargetingPolicy policy) override; |
178 void SetPredefinedCursor(uint32_t change_id, | 178 void SetCursor(uint32_t change_id, |
179 uint32_t window_id, | 179 Id transport_window_id, |
180 ui::mojom::CursorType cursor_id) override; | 180 ui::CursorData cursor_data) override; |
181 void SetWindowTextInputState(uint32_t window_id, | 181 void SetWindowTextInputState(uint32_t window_id, |
182 mojo::TextInputStatePtr state) override; | 182 mojo::TextInputStatePtr state) override; |
183 void SetImeVisibility(uint32_t window_id, | 183 void SetImeVisibility(uint32_t window_id, |
184 bool visible, | 184 bool visible, |
185 mojo::TextInputStatePtr state) override; | 185 mojo::TextInputStatePtr state) override; |
186 void OnWindowInputEventAck(uint32_t event_id, | 186 void OnWindowInputEventAck(uint32_t event_id, |
187 ui::mojom::EventResult result) override; | 187 ui::mojom::EventResult result) override; |
188 void DeactivateWindow(uint32_t window_id) override; | 188 void DeactivateWindow(uint32_t window_id) override; |
189 void StackAbove(uint32_t change_id, uint32_t above_id, | 189 void StackAbove(uint32_t change_id, uint32_t above_id, |
190 uint32_t below_id) override; | 190 uint32_t below_id) override; |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
233 base::Optional<gfx::Rect> last_hit_test_mask_; | 233 base::Optional<gfx::Rect> last_hit_test_mask_; |
234 | 234 |
235 base::Optional<cc::LocalSurfaceId> last_local_surface_id_; | 235 base::Optional<cc::LocalSurfaceId> last_local_surface_id_; |
236 | 236 |
237 DISALLOW_COPY_AND_ASSIGN(TestWindowTree); | 237 DISALLOW_COPY_AND_ASSIGN(TestWindowTree); |
238 }; | 238 }; |
239 | 239 |
240 } // namespace aura | 240 } // namespace aura |
241 | 241 |
242 #endif // UI_AURA_TEST_MUS_TEST_WINDOW_TREE_H_ | 242 #endif // UI_AURA_TEST_MUS_TEST_WINDOW_TREE_H_ |
OLD | NEW |