| 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 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 340 const base::Optional<std::vector<uint8_t>>& value) override {} | 340 const base::Optional<std::vector<uint8_t>>& value) override {} |
| 341 void WmSetModalType(uint32_t window_id, ui::ModalType type) override; | 341 void WmSetModalType(uint32_t window_id, ui::ModalType type) override; |
| 342 void WmSetCanFocus(uint32_t window_id, bool can_focus) override {} | 342 void WmSetCanFocus(uint32_t window_id, bool can_focus) override {} |
| 343 void WmCreateTopLevelWindow( | 343 void WmCreateTopLevelWindow( |
| 344 uint32_t change_id, | 344 uint32_t change_id, |
| 345 ClientSpecificId requesting_client_id, | 345 ClientSpecificId requesting_client_id, |
| 346 const std::unordered_map<std::string, std::vector<uint8_t>>& properties) | 346 const std::unordered_map<std::string, std::vector<uint8_t>>& properties) |
| 347 override; | 347 override; |
| 348 void WmClientJankinessChanged(ClientSpecificId client_id, | 348 void WmClientJankinessChanged(ClientSpecificId client_id, |
| 349 bool janky) override; | 349 bool janky) override; |
| 350 void WmBuildDragImage(const gfx::Point& cursor_location, |
| 351 const SkBitmap& drag_image, |
| 352 const gfx::Vector2d& drag_image_offset, |
| 353 ui::mojom::DragEventSource source) override; |
| 354 void WmMoveDragImage(const gfx::Point& cursor_location, |
| 355 const WmMoveDragImageCallback& callback) override; |
| 356 void WmDestroyDragImage() override; |
| 350 void WmPerformMoveLoop(uint32_t change_id, | 357 void WmPerformMoveLoop(uint32_t change_id, |
| 351 uint32_t window_id, | 358 uint32_t window_id, |
| 352 mojom::MoveLoopSource source, | 359 mojom::MoveLoopSource source, |
| 353 const gfx::Point& cursor_location) override; | 360 const gfx::Point& cursor_location) override; |
| 354 void WmCancelMoveLoop(uint32_t window_id) override; | 361 void WmCancelMoveLoop(uint32_t window_id) override; |
| 355 void WmDeactivateWindow(uint32_t window_id) override; | 362 void WmDeactivateWindow(uint32_t window_id) override; |
| 356 void WmStackAbove(uint32_t change_id, uint32_t above_id, | 363 void WmStackAbove(uint32_t change_id, uint32_t above_id, |
| 357 uint32_t below_id) override; | 364 uint32_t below_id) override; |
| 358 void WmStackAtTop(uint32_t change_id, uint32_t window_id) override; | 365 void WmStackAtTop(uint32_t change_id, uint32_t window_id) override; |
| 359 void OnAccelerator(uint32_t ack_id, | 366 void OnAccelerator(uint32_t ack_id, |
| (...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 680 ServerWindow* NewWindowInTree(WindowTree* tree, ClientWindowId* client_id); | 687 ServerWindow* NewWindowInTree(WindowTree* tree, ClientWindowId* client_id); |
| 681 ServerWindow* NewWindowInTreeWithParent(WindowTree* tree, | 688 ServerWindow* NewWindowInTreeWithParent(WindowTree* tree, |
| 682 ServerWindow* parent, | 689 ServerWindow* parent, |
| 683 ClientWindowId* client_id = nullptr); | 690 ClientWindowId* client_id = nullptr); |
| 684 | 691 |
| 685 } // namespace test | 692 } // namespace test |
| 686 } // namespace ws | 693 } // namespace ws |
| 687 } // namespace ui | 694 } // namespace ui |
| 688 | 695 |
| 689 #endif // SERVICES_UI_WS_TEST_UTILS_H_ | 696 #endif // SERVICES_UI_WS_TEST_UTILS_H_ |
| OLD | NEW |