| 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 #ifndef SERVICES_UI_WS_TEST_UTILS_H_ | 5 #ifndef SERVICES_UI_WS_TEST_UTILS_H_ |
| 6 #define SERVICES_UI_WS_TEST_UTILS_H_ | 6 #define SERVICES_UI_WS_TEST_UTILS_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 449 uint32_t key_state, | 449 uint32_t key_state, |
| 450 const gfx::Point& position, | 450 const gfx::Point& position, |
| 451 uint32_t effect_bitmask, | 451 uint32_t effect_bitmask, |
| 452 const OnDragOverCallback& callback) override; | 452 const OnDragOverCallback& callback) override; |
| 453 void OnDragLeave(uint32_t window) override; | 453 void OnDragLeave(uint32_t window) override; |
| 454 void OnCompleteDrop(uint32_t window, | 454 void OnCompleteDrop(uint32_t window, |
| 455 uint32_t key_state, | 455 uint32_t key_state, |
| 456 const gfx::Point& position, | 456 const gfx::Point& position, |
| 457 uint32_t effect_bitmask, | 457 uint32_t effect_bitmask, |
| 458 const OnCompleteDropCallback& callback) override; | 458 const OnCompleteDropCallback& callback) override; |
| 459 void OnPerformDragDropCompleted(uint32_t window, |
| 460 bool success, |
| 461 uint32_t action_taken) override; |
| 459 void OnDragDropDone() override; | 462 void OnDragDropDone() override; |
| 460 void OnChangeCompleted(uint32_t change_id, bool success) override; | 463 void OnChangeCompleted(uint32_t change_id, bool success) override; |
| 461 void RequestClose(uint32_t window_id) override; | 464 void RequestClose(uint32_t window_id) override; |
| 462 void GetWindowManager( | 465 void GetWindowManager( |
| 463 mojo::AssociatedInterfaceRequest<mojom::WindowManager> internal) override; | 466 mojo::AssociatedInterfaceRequest<mojom::WindowManager> internal) override; |
| 464 | 467 |
| 465 TestChangeTracker tracker_; | 468 TestChangeTracker tracker_; |
| 466 mojo::Binding<mojom::WindowTreeClient> binding_; | 469 mojo::Binding<mojom::WindowTreeClient> binding_; |
| 467 bool record_on_change_completed_ = false; | 470 bool record_on_change_completed_ = false; |
| 468 | 471 |
| (...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 658 ServerWindow* NewWindowInTree(WindowTree* tree, ClientWindowId* client_id); | 661 ServerWindow* NewWindowInTree(WindowTree* tree, ClientWindowId* client_id); |
| 659 ServerWindow* NewWindowInTreeWithParent(WindowTree* tree, | 662 ServerWindow* NewWindowInTreeWithParent(WindowTree* tree, |
| 660 ServerWindow* parent, | 663 ServerWindow* parent, |
| 661 ClientWindowId* client_id); | 664 ClientWindowId* client_id); |
| 662 | 665 |
| 663 } // namespace test | 666 } // namespace test |
| 664 } // namespace ws | 667 } // namespace ws |
| 665 } // namespace ui | 668 } // namespace ui |
| 666 | 669 |
| 667 #endif // SERVICES_UI_WS_TEST_UTILS_H_ | 670 #endif // SERVICES_UI_WS_TEST_UTILS_H_ |
| OLD | NEW |