| 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, |
| 213 const GetFrameSinkIdCallback& callback) override; |
| 212 | 214 |
| 213 struct AckedEvent { | 215 struct AckedEvent { |
| 214 uint32_t event_id; | 216 uint32_t event_id; |
| 215 ui::mojom::EventResult result; | 217 ui::mojom::EventResult result; |
| 216 }; | 218 }; |
| 217 std::vector<AckedEvent> acked_events_; | 219 std::vector<AckedEvent> acked_events_; |
| 218 uint32_t window_id_ = 0u; | 220 uint32_t window_id_ = 0u; |
| 219 | 221 |
| 220 base::Optional<std::vector<uint8_t>> last_property_value_; | 222 base::Optional<std::vector<uint8_t>> last_property_value_; |
| 221 | 223 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 233 base::Optional<gfx::Rect> last_hit_test_mask_; | 235 base::Optional<gfx::Rect> last_hit_test_mask_; |
| 234 | 236 |
| 235 base::Optional<cc::LocalSurfaceId> last_local_surface_id_; | 237 base::Optional<cc::LocalSurfaceId> last_local_surface_id_; |
| 236 | 238 |
| 237 DISALLOW_COPY_AND_ASSIGN(TestWindowTree); | 239 DISALLOW_COPY_AND_ASSIGN(TestWindowTree); |
| 238 }; | 240 }; |
| 239 | 241 |
| 240 } // namespace aura | 242 } // namespace aura |
| 241 | 243 |
| 242 #endif // UI_AURA_TEST_MUS_TEST_WINDOW_TREE_H_ | 244 #endif // UI_AURA_TEST_MUS_TEST_WINDOW_TREE_H_ |
| OLD | NEW |