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_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_CLIENT_SETUP_H_ | 5 #ifndef UI_AURA_TEST_MUS_TEST_WINDOW_TREE_CLIENT_SETUP_H_ |
6 #define SERVICES_UI_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_CLIENT_SETUP_H_ | 6 #define UI_AURA_TEST_MUS_TEST_WINDOW_TREE_CLIENT_SETUP_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 | 11 |
12 namespace display { | 12 namespace display { |
13 class Display; | 13 class Display; |
14 } | 14 } |
15 | 15 |
16 namespace ui { | 16 namespace aura { |
17 | 17 |
18 class TestWindowTree; | 18 class TestWindowTree; |
19 class WindowManagerDelegate; | 19 class WindowManagerDelegate; |
20 class WindowTreeClient; | 20 class WindowTreeClient; |
21 class WindowTreeClientDelegate; | 21 class WindowTreeClientDelegate; |
22 | 22 |
23 // TestWindowTreeClientSetup is used to create a WindowTreeClient that is not | 23 // TestWindowTreeClientSetup is used to create a WindowTreeClient that is not |
24 // connected to mus. | 24 // connected to mus. |
25 class TestWindowTreeClientSetup { | 25 class TestWindowTreeClientSetup { |
26 public: | 26 public: |
(...skipping 18 matching lines...) Expand all Loading... |
45 void CommonInit(WindowTreeClientDelegate* window_tree_delegate, | 45 void CommonInit(WindowTreeClientDelegate* window_tree_delegate, |
46 WindowManagerDelegate* window_manager_delegate); | 46 WindowManagerDelegate* window_manager_delegate); |
47 | 47 |
48 std::unique_ptr<TestWindowTree> window_tree_; | 48 std::unique_ptr<TestWindowTree> window_tree_; |
49 | 49 |
50 std::unique_ptr<WindowTreeClient> window_tree_client_; | 50 std::unique_ptr<WindowTreeClient> window_tree_client_; |
51 | 51 |
52 DISALLOW_COPY_AND_ASSIGN(TestWindowTreeClientSetup); | 52 DISALLOW_COPY_AND_ASSIGN(TestWindowTreeClientSetup); |
53 }; | 53 }; |
54 | 54 |
55 } // namespace ui | 55 } // namespace aura |
56 | 56 |
57 #endif // SERVICES_UI_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_CLIENT_SETUP_H_ | 57 #endif // UI_AURA_TEST_MUS_TEST_WINDOW_TREE_CLIENT_SETUP_H_ |
OLD | NEW |