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 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 uint32_t below_id) override; | 186 uint32_t below_id) override; |
187 void StackAtTop(uint32_t change_id, uint32_t window_id) override; | 187 void StackAtTop(uint32_t change_id, uint32_t window_id) override; |
188 void GetWindowManagerClient( | 188 void GetWindowManagerClient( |
189 mojo::AssociatedInterfaceRequest<ui::mojom::WindowManagerClient> internal) | 189 mojo::AssociatedInterfaceRequest<ui::mojom::WindowManagerClient> internal) |
190 override; | 190 override; |
191 void GetCursorLocationMemory( | 191 void GetCursorLocationMemory( |
192 const GetCursorLocationMemoryCallback& callback) override; | 192 const GetCursorLocationMemoryCallback& callback) override; |
193 void PerformDragDrop( | 193 void PerformDragDrop( |
194 uint32_t change_id, | 194 uint32_t change_id, |
195 uint32_t source_window_id, | 195 uint32_t source_window_id, |
| 196 const gfx::Point& screen_location, |
196 const std::unordered_map<std::string, std::vector<uint8_t>>& drag_data, | 197 const std::unordered_map<std::string, std::vector<uint8_t>>& drag_data, |
197 uint32_t drag_operation) override; | 198 const SkBitmap& drag_image, |
| 199 const gfx::Vector2d& drag_image_offset, |
| 200 uint32_t drag_operation, |
| 201 ui::mojom::DragEventSource source) override; |
198 void CancelDragDrop(uint32_t window_id) override; | 202 void CancelDragDrop(uint32_t window_id) override; |
199 void PerformWindowMove(uint32_t change_id, | 203 void PerformWindowMove(uint32_t change_id, |
200 uint32_t window_id, | 204 uint32_t window_id, |
201 ui::mojom::MoveLoopSource source, | 205 ui::mojom::MoveLoopSource source, |
202 const gfx::Point& cursor_location) override; | 206 const gfx::Point& cursor_location) override; |
203 void CancelWindowMove(uint32_t window_id) override; | 207 void CancelWindowMove(uint32_t window_id) override; |
204 | 208 |
205 struct AckedEvent { | 209 struct AckedEvent { |
206 uint32_t event_id; | 210 uint32_t event_id; |
207 ui::mojom::EventResult result; | 211 ui::mojom::EventResult result; |
(...skipping 15 matching lines...) Expand all Loading... |
223 gfx::Insets last_client_area_; | 227 gfx::Insets last_client_area_; |
224 | 228 |
225 base::Optional<gfx::Rect> last_hit_test_mask_; | 229 base::Optional<gfx::Rect> last_hit_test_mask_; |
226 | 230 |
227 DISALLOW_COPY_AND_ASSIGN(TestWindowTree); | 231 DISALLOW_COPY_AND_ASSIGN(TestWindowTree); |
228 }; | 232 }; |
229 | 233 |
230 } // namespace aura | 234 } // namespace aura |
231 | 235 |
232 #endif // UI_AURA_TEST_MUS_TEST_WINDOW_TREE_H_ | 236 #endif // UI_AURA_TEST_MUS_TEST_WINDOW_TREE_H_ |
OLD | NEW |