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 void WmDisplayRemoved(int64_t display_id) override; | 340 void WmDisplayRemoved(int64_t display_id) override; |
341 void WmDisplayModified(const display::Display& display) override {} | 341 void WmDisplayModified(const display::Display& display) override {} |
342 void WmSetBounds(uint32_t change_id, | 342 void WmSetBounds(uint32_t change_id, |
343 uint32_t window_id, | 343 uint32_t window_id, |
344 const gfx::Rect& bounds) override {} | 344 const gfx::Rect& bounds) override {} |
345 void WmSetProperty( | 345 void WmSetProperty( |
346 uint32_t change_id, | 346 uint32_t change_id, |
347 uint32_t window_id, | 347 uint32_t window_id, |
348 const std::string& name, | 348 const std::string& name, |
349 const base::Optional<std::vector<uint8_t>>& value) override {} | 349 const base::Optional<std::vector<uint8_t>>& value) override {} |
| 350 void WmSetModalType(uint32_t change_id, |
| 351 uint32_t window_id, |
| 352 ui::ModalType type) override {} |
350 void WmSetCanFocus(uint32_t window_id, bool can_focus) override {} | 353 void WmSetCanFocus(uint32_t window_id, bool can_focus) override {} |
351 void WmCreateTopLevelWindow( | 354 void WmCreateTopLevelWindow( |
352 uint32_t change_id, | 355 uint32_t change_id, |
353 ClientSpecificId requesting_client_id, | 356 ClientSpecificId requesting_client_id, |
354 const std::unordered_map<std::string, std::vector<uint8_t>>& properties) | 357 const std::unordered_map<std::string, std::vector<uint8_t>>& properties) |
355 override; | 358 override; |
356 void WmClientJankinessChanged(ClientSpecificId client_id, | 359 void WmClientJankinessChanged(ClientSpecificId client_id, |
357 bool janky) override; | 360 bool janky) override; |
358 void WmPerformMoveLoop(uint32_t change_id, | 361 void WmPerformMoveLoop(uint32_t change_id, |
359 uint32_t window_id, | 362 uint32_t window_id, |
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
685 ServerWindow* NewWindowInTree(WindowTree* tree, ClientWindowId* client_id); | 688 ServerWindow* NewWindowInTree(WindowTree* tree, ClientWindowId* client_id); |
686 ServerWindow* NewWindowInTreeWithParent(WindowTree* tree, | 689 ServerWindow* NewWindowInTreeWithParent(WindowTree* tree, |
687 ServerWindow* parent, | 690 ServerWindow* parent, |
688 ClientWindowId* client_id = nullptr); | 691 ClientWindowId* client_id = nullptr); |
689 | 692 |
690 } // namespace test | 693 } // namespace test |
691 } // namespace ws | 694 } // namespace ws |
692 } // namespace ui | 695 } // namespace ui |
693 | 696 |
694 #endif // SERVICES_UI_WS_TEST_UTILS_H_ | 697 #endif // SERVICES_UI_WS_TEST_UTILS_H_ |
OLD | NEW |