| 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 COMPONENTS_MUS_WS_TEST_UTILS_H_ | 5 #ifndef SERVICES_UI_WS_TEST_UTILS_H_ |
| 6 #define COMPONENTS_MUS_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 <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "components/mus/public/interfaces/display.mojom.h" | 12 #include "services/ui/public/interfaces/display.mojom.h" |
| 13 #include "components/mus/public/interfaces/window_tree.mojom.h" | 13 #include "services/ui/public/interfaces/window_tree.mojom.h" |
| 14 #include "components/mus/ws/display.h" | 14 #include "services/ui/ws/display.h" |
| 15 #include "components/mus/ws/display_binding.h" | 15 #include "services/ui/ws/display_binding.h" |
| 16 #include "components/mus/ws/event_dispatcher.h" | 16 #include "services/ui/ws/event_dispatcher.h" |
| 17 #include "components/mus/ws/platform_display.h" | 17 #include "services/ui/ws/platform_display.h" |
| 18 #include "components/mus/ws/platform_display_factory.h" | 18 #include "services/ui/ws/platform_display_factory.h" |
| 19 #include "components/mus/ws/test_change_tracker.h" | 19 #include "services/ui/ws/test_change_tracker.h" |
| 20 #include "components/mus/ws/user_activity_monitor.h" | 20 #include "services/ui/ws/user_activity_monitor.h" |
| 21 #include "components/mus/ws/user_display_manager.h" | 21 #include "services/ui/ws/user_display_manager.h" |
| 22 #include "components/mus/ws/user_id.h" | 22 #include "services/ui/ws/user_id.h" |
| 23 #include "components/mus/ws/window_manager_state.h" | 23 #include "services/ui/ws/window_manager_state.h" |
| 24 #include "components/mus/ws/window_manager_window_tree_factory_set.h" | 24 #include "services/ui/ws/window_manager_window_tree_factory_set.h" |
| 25 #include "components/mus/ws/window_server_delegate.h" | 25 #include "services/ui/ws/window_server_delegate.h" |
| 26 #include "components/mus/ws/window_tree.h" | 26 #include "services/ui/ws/window_tree.h" |
| 27 #include "components/mus/ws/window_tree_binding.h" | 27 #include "services/ui/ws/window_tree_binding.h" |
| 28 | 28 |
| 29 namespace mus { | 29 namespace mus { |
| 30 namespace ws { | 30 namespace ws { |
| 31 namespace test { | 31 namespace test { |
| 32 | 32 |
| 33 // Collection of utilities useful in creating mus tests. | 33 // Collection of utilities useful in creating mus tests. |
| 34 | 34 |
| 35 class WindowManagerWindowTreeFactorySetTestApi { | 35 class WindowManagerWindowTreeFactorySetTestApi { |
| 36 public: | 36 public: |
| 37 explicit WindowManagerWindowTreeFactorySetTestApi( | 37 explicit WindowManagerWindowTreeFactorySetTestApi( |
| (...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 527 // |client_id| set to the ClientWindowId of the new window. | 527 // |client_id| set to the ClientWindowId of the new window. |
| 528 ServerWindow* NewWindowInTree(WindowTree* tree, ClientWindowId* client_id); | 528 ServerWindow* NewWindowInTree(WindowTree* tree, ClientWindowId* client_id); |
| 529 ServerWindow* NewWindowInTreeWithParent(WindowTree* tree, | 529 ServerWindow* NewWindowInTreeWithParent(WindowTree* tree, |
| 530 ServerWindow* parent, | 530 ServerWindow* parent, |
| 531 ClientWindowId* client_id); | 531 ClientWindowId* client_id); |
| 532 | 532 |
| 533 } // namespace test | 533 } // namespace test |
| 534 } // namespace ws | 534 } // namespace ws |
| 535 } // namespace mus | 535 } // namespace mus |
| 536 | 536 |
| 537 #endif // COMPONENTS_MUS_WS_TEST_UTILS_H_ | 537 #endif // SERVICES_UI_WS_TEST_UTILS_H_ |
| OLD | NEW |