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 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 const SkBitmap& drag_image, | 202 const SkBitmap& drag_image, |
203 const gfx::Vector2d& drag_image_offset, | 203 const gfx::Vector2d& drag_image_offset, |
204 uint32_t drag_operation, | 204 uint32_t drag_operation, |
205 ui::mojom::PointerKind source) override; | 205 ui::mojom::PointerKind source) override; |
206 void CancelDragDrop(uint32_t window_id) override; | 206 void CancelDragDrop(uint32_t window_id) override; |
207 void PerformWindowMove(uint32_t change_id, | 207 void PerformWindowMove(uint32_t change_id, |
208 uint32_t window_id, | 208 uint32_t window_id, |
209 ui::mojom::MoveLoopSource source, | 209 ui::mojom::MoveLoopSource source, |
210 const gfx::Point& cursor_location) override; | 210 const gfx::Point& cursor_location) override; |
211 void CancelWindowMove(uint32_t window_id) override; | 211 void CancelWindowMove(uint32_t window_id) override; |
| 212 void GetFrameSinkId(uint32_t window_id) override; |
212 | 213 |
213 struct AckedEvent { | 214 struct AckedEvent { |
214 uint32_t event_id; | 215 uint32_t event_id; |
215 ui::mojom::EventResult result; | 216 ui::mojom::EventResult result; |
216 }; | 217 }; |
217 std::vector<AckedEvent> acked_events_; | 218 std::vector<AckedEvent> acked_events_; |
218 uint32_t window_id_ = 0u; | 219 uint32_t window_id_ = 0u; |
219 | 220 |
220 base::Optional<std::vector<uint8_t>> last_property_value_; | 221 base::Optional<std::vector<uint8_t>> last_property_value_; |
221 | 222 |
(...skipping 11 matching lines...) Expand all Loading... |
233 base::Optional<gfx::Rect> last_hit_test_mask_; | 234 base::Optional<gfx::Rect> last_hit_test_mask_; |
234 | 235 |
235 base::Optional<cc::LocalSurfaceId> last_local_surface_id_; | 236 base::Optional<cc::LocalSurfaceId> last_local_surface_id_; |
236 | 237 |
237 DISALLOW_COPY_AND_ASSIGN(TestWindowTree); | 238 DISALLOW_COPY_AND_ASSIGN(TestWindowTree); |
238 }; | 239 }; |
239 | 240 |
240 } // namespace aura | 241 } // namespace aura |
241 | 242 |
242 #endif // UI_AURA_TEST_MUS_TEST_WINDOW_TREE_H_ | 243 #endif // UI_AURA_TEST_MUS_TEST_WINDOW_TREE_H_ |
OLD | NEW |