| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "services/ui/ws/test_utils.h" | 5 #include "services/ui/ws/test_utils.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/memory/ptr_util.h" | 9 #include "base/memory/ptr_util.h" |
| 10 #include "cc/output/copy_output_request.h" | 10 #include "cc/output/copy_output_request.h" |
| (...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 374 | 374 |
| 375 void TestWindowTreeClient::OnDragLeave(uint32_t window) {} | 375 void TestWindowTreeClient::OnDragLeave(uint32_t window) {} |
| 376 | 376 |
| 377 void TestWindowTreeClient::OnCompleteDrop( | 377 void TestWindowTreeClient::OnCompleteDrop( |
| 378 uint32_t window, | 378 uint32_t window, |
| 379 uint32_t key_state, | 379 uint32_t key_state, |
| 380 const gfx::Point& position, | 380 const gfx::Point& position, |
| 381 uint32_t effect_bitmask, | 381 uint32_t effect_bitmask, |
| 382 const OnCompleteDropCallback& callback) {} | 382 const OnCompleteDropCallback& callback) {} |
| 383 | 383 |
| 384 void TestWindowTreeClient::OnPerformDragDropCompleted(uint32_t window, |
| 385 bool success, |
| 386 uint32_t action_taken) {} |
| 387 |
| 384 void TestWindowTreeClient::OnDragDropDone() {} | 388 void TestWindowTreeClient::OnDragDropDone() {} |
| 385 | 389 |
| 386 void TestWindowTreeClient::OnChangeCompleted(uint32_t change_id, bool success) { | 390 void TestWindowTreeClient::OnChangeCompleted(uint32_t change_id, bool success) { |
| 387 if (record_on_change_completed_) | 391 if (record_on_change_completed_) |
| 388 tracker_.OnChangeCompleted(change_id, success); | 392 tracker_.OnChangeCompleted(change_id, success); |
| 389 } | 393 } |
| 390 | 394 |
| 391 void TestWindowTreeClient::RequestClose(uint32_t window_id) {} | 395 void TestWindowTreeClient::RequestClose(uint32_t window_id) {} |
| 392 | 396 |
| 393 void TestWindowTreeClient::GetWindowManager( | 397 void TestWindowTreeClient::GetWindowManager( |
| (...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 595 return nullptr; | 599 return nullptr; |
| 596 if (!tree->AddWindow(parent_client_id, client_window_id)) | 600 if (!tree->AddWindow(parent_client_id, client_window_id)) |
| 597 return nullptr; | 601 return nullptr; |
| 598 *client_id = client_window_id; | 602 *client_id = client_window_id; |
| 599 return tree->GetWindowByClientId(client_window_id); | 603 return tree->GetWindowByClientId(client_window_id); |
| 600 } | 604 } |
| 601 | 605 |
| 602 } // namespace test | 606 } // namespace test |
| 603 } // namespace ws | 607 } // namespace ws |
| 604 } // namespace ui | 608 } // namespace ui |
| OLD | NEW |