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