| 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 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 350 ClientSpecificId requesting_client_id, | 350 ClientSpecificId requesting_client_id, |
| 351 const std::unordered_map<std::string, std::vector<uint8_t>>& properties) | 351 const std::unordered_map<std::string, std::vector<uint8_t>>& properties) |
| 352 override; | 352 override; |
| 353 void WmClientJankinessChanged(ClientSpecificId client_id, | 353 void WmClientJankinessChanged(ClientSpecificId client_id, |
| 354 bool janky) override; | 354 bool janky) override; |
| 355 void WmPerformMoveLoop(uint32_t change_id, | 355 void WmPerformMoveLoop(uint32_t change_id, |
| 356 uint32_t window_id, | 356 uint32_t window_id, |
| 357 mojom::MoveLoopSource source, | 357 mojom::MoveLoopSource source, |
| 358 const gfx::Point& cursor_location) override; | 358 const gfx::Point& cursor_location) override; |
| 359 void WmCancelMoveLoop(uint32_t window_id) override; | 359 void WmCancelMoveLoop(uint32_t window_id) override; |
| 360 void WmDeactivateWindow(uint32_t window_id) override; |
| 360 void OnAccelerator(uint32_t ack_id, | 361 void OnAccelerator(uint32_t ack_id, |
| 361 uint32_t accelerator_id, | 362 uint32_t accelerator_id, |
| 362 std::unique_ptr<ui::Event> event) override; | 363 std::unique_ptr<ui::Event> event) override; |
| 363 | 364 |
| 364 bool on_perform_move_loop_called_ = false; | 365 bool on_perform_move_loop_called_ = false; |
| 365 | 366 |
| 366 bool got_create_top_level_window_; | 367 bool got_create_top_level_window_; |
| 367 uint32_t change_id_; | 368 uint32_t change_id_; |
| 368 | 369 |
| 369 bool on_accelerator_called_; | 370 bool on_accelerator_called_; |
| (...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 672 ServerWindow* NewWindowInTree(WindowTree* tree, ClientWindowId* client_id); | 673 ServerWindow* NewWindowInTree(WindowTree* tree, ClientWindowId* client_id); |
| 673 ServerWindow* NewWindowInTreeWithParent(WindowTree* tree, | 674 ServerWindow* NewWindowInTreeWithParent(WindowTree* tree, |
| 674 ServerWindow* parent, | 675 ServerWindow* parent, |
| 675 ClientWindowId* client_id); | 676 ClientWindowId* client_id); |
| 676 | 677 |
| 677 } // namespace test | 678 } // namespace test |
| 678 } // namespace ws | 679 } // namespace ws |
| 679 } // namespace ui | 680 } // namespace ui |
| 680 | 681 |
| 681 #endif // SERVICES_UI_WS_TEST_UTILS_H_ | 682 #endif // SERVICES_UI_WS_TEST_UTILS_H_ |
| OLD | NEW |