| 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 OnDragCompletedReturnValue(uint32_t window, |
| 460 uint32_t action_taken) override; |
| 459 void OnDragDropDone() override; | 461 void OnDragDropDone() override; |
| 460 void OnChangeCompleted(uint32_t change_id, bool success) override; | 462 void OnChangeCompleted(uint32_t change_id, bool success) override; |
| 461 void RequestClose(uint32_t window_id) override; | 463 void RequestClose(uint32_t window_id) override; |
| 462 void GetWindowManager( | 464 void GetWindowManager( |
| 463 mojo::AssociatedInterfaceRequest<mojom::WindowManager> internal) override; | 465 mojo::AssociatedInterfaceRequest<mojom::WindowManager> internal) override; |
| 464 | 466 |
| 465 TestChangeTracker tracker_; | 467 TestChangeTracker tracker_; |
| 466 mojo::Binding<mojom::WindowTreeClient> binding_; | 468 mojo::Binding<mojom::WindowTreeClient> binding_; |
| 467 bool record_on_change_completed_ = false; | 469 bool record_on_change_completed_ = false; |
| 468 | 470 |
| (...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 658 ServerWindow* NewWindowInTree(WindowTree* tree, ClientWindowId* client_id); | 660 ServerWindow* NewWindowInTree(WindowTree* tree, ClientWindowId* client_id); |
| 659 ServerWindow* NewWindowInTreeWithParent(WindowTree* tree, | 661 ServerWindow* NewWindowInTreeWithParent(WindowTree* tree, |
| 660 ServerWindow* parent, | 662 ServerWindow* parent, |
| 661 ClientWindowId* client_id); | 663 ClientWindowId* client_id); |
| 662 | 664 |
| 663 } // namespace test | 665 } // namespace test |
| 664 } // namespace ws | 666 } // namespace ws |
| 665 } // namespace ui | 667 } // namespace ui |
| 666 | 668 |
| 667 #endif // SERVICES_UI_WS_TEST_UTILS_H_ | 669 #endif // SERVICES_UI_WS_TEST_UTILS_H_ |
| OLD | NEW |