| 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 #include "ui/aura/test/mus/test_window_tree.h" | 5 #include "ui/aura/test/mus/test_window_tree.h" |
| 6 | 6 |
| 7 #include "testing/gtest/include/gtest/gtest.h" | 7 #include "testing/gtest/include/gtest/gtest.h" |
| 8 | 8 |
| 9 namespace aura { | 9 namespace aura { |
| 10 | 10 |
| (...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 283 } | 283 } |
| 284 | 284 |
| 285 void TestWindowTree::GetCursorLocationMemory( | 285 void TestWindowTree::GetCursorLocationMemory( |
| 286 const GetCursorLocationMemoryCallback& callback) { | 286 const GetCursorLocationMemoryCallback& callback) { |
| 287 callback.Run(mojo::ScopedSharedBufferHandle()); | 287 callback.Run(mojo::ScopedSharedBufferHandle()); |
| 288 } | 288 } |
| 289 | 289 |
| 290 void TestWindowTree::PerformDragDrop( | 290 void TestWindowTree::PerformDragDrop( |
| 291 uint32_t change_id, | 291 uint32_t change_id, |
| 292 uint32_t source_window_id, | 292 uint32_t source_window_id, |
| 293 const gfx::Point& screen_location, |
| 293 const std::unordered_map<std::string, std::vector<uint8_t>>& drag_data, | 294 const std::unordered_map<std::string, std::vector<uint8_t>>& drag_data, |
| 294 uint32_t drag_operation) { | 295 const SkBitmap& drag_image, |
| 296 const gfx::Vector2d& drag_image_offset, |
| 297 uint32_t drag_operation, |
| 298 ui::mojom::DragEventSource source) { |
| 295 OnChangeReceived(change_id); | 299 OnChangeReceived(change_id); |
| 296 } | 300 } |
| 297 | 301 |
| 298 void TestWindowTree::CancelDragDrop(uint32_t window_id) {} | 302 void TestWindowTree::CancelDragDrop(uint32_t window_id) {} |
| 299 | 303 |
| 300 void TestWindowTree::PerformWindowMove(uint32_t change_id, | 304 void TestWindowTree::PerformWindowMove(uint32_t change_id, |
| 301 uint32_t window_id, | 305 uint32_t window_id, |
| 302 ui::mojom::MoveLoopSource source, | 306 ui::mojom::MoveLoopSource source, |
| 303 const gfx::Point& cursor_location) { | 307 const gfx::Point& cursor_location) { |
| 304 OnChangeReceived(change_id); | 308 OnChangeReceived(change_id); |
| 305 } | 309 } |
| 306 | 310 |
| 307 void TestWindowTree::CancelWindowMove(uint32_t window_id) {} | 311 void TestWindowTree::CancelWindowMove(uint32_t window_id) {} |
| 308 | 312 |
| 309 } // namespace aura | 313 } // namespace aura |
| OLD | NEW |