Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(33)

Side by Side Diff: ash/mus/test/wm_test_helper.h

Issue 2539363005: Converts ash to use aura-mus (Closed)
Patch Set: merge Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 ASH_MUS_TEST_WM_TEST_HELPER_H_ 5 #ifndef ASH_MUS_TEST_WM_TEST_HELPER_H_
6 #define ASH_MUS_TEST_WM_TEST_HELPER_H_ 6 #define ASH_MUS_TEST_WM_TEST_HELPER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "ash/mus/window_manager_application.h" 10 #include "ash/mus/window_manager_application.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "services/ui/public/cpp/tests/test_window_tree_client_setup.h" 12 #include "ui/aura/test/mus/test_window_tree_client_setup.h"
13
14 namespace aura {
15 class WindowTreeClientPrivate;
16 }
13 17
14 namespace base { 18 namespace base {
15 class MessageLoop; 19 class MessageLoop;
16 class SequencedWorkerPoolOwner; 20 class SequencedWorkerPoolOwner;
17 } 21 }
18 22
19 namespace ui { 23 namespace ui {
20 class WindowTreeClientPrivate; 24 class WindowTreeClientPrivate;
21 } 25 }
22 26
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 void UpdateDisplay(RootWindowController* root_window_controller, 66 void UpdateDisplay(RootWindowController* root_window_controller,
63 const std::string& display_spec, 67 const std::string& display_spec,
64 int* next_x); 68 int* next_x);
65 69
66 // Destroys a RootWindowController. 70 // Destroys a RootWindowController.
67 void DestroyRootWindowController( 71 void DestroyRootWindowController(
68 RootWindowController* root_window_controller); 72 RootWindowController* root_window_controller);
69 73
70 std::unique_ptr<base::MessageLoop> message_loop_; 74 std::unique_ptr<base::MessageLoop> message_loop_;
71 std::unique_ptr<views::ViewsDelegate> views_delegate_; 75 std::unique_ptr<views::ViewsDelegate> views_delegate_;
72 ui::TestWindowTreeClientSetup window_tree_client_setup_; 76 aura::TestWindowTreeClientSetup window_tree_client_setup_;
73 std::unique_ptr<WindowManagerApplication> window_manager_app_; 77 std::unique_ptr<WindowManagerApplication> window_manager_app_;
74 std::unique_ptr<ui::WindowTreeClientPrivate> window_tree_client_private_; 78 std::unique_ptr<aura::WindowTreeClientPrivate> window_tree_client_private_;
75 79
76 // Id for the next Display created by CreateRootWindowController(). 80 // Id for the next Display created by CreateRootWindowController().
77 int64_t next_display_id_ = 1; 81 int64_t next_display_id_ = 1;
78 82
79 std::unique_ptr<base::SequencedWorkerPoolOwner> blocking_pool_owner_; 83 std::unique_ptr<base::SequencedWorkerPoolOwner> blocking_pool_owner_;
80 84
81 DISALLOW_COPY_AND_ASSIGN(WmTestHelper); 85 DISALLOW_COPY_AND_ASSIGN(WmTestHelper);
82 }; 86 };
83 87
84 } // namespace mus 88 } // namespace mus
85 } // namespace ash 89 } // namespace ash
86 90
87 #endif // ASH_MUS_TEST_WM_TEST_HELPER_H_ 91 #endif // ASH_MUS_TEST_WM_TEST_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698