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

Side by Side Diff: ash/mus/window_manager.h

Issue 2314203002: Move DisplayList to display; add ScreenBase. (Closed)
Patch Set: Update unit test namespace. Created 4 years, 3 months 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
« no previous file with comments | « ash/mus/test/wm_test_screen.cc ('k') | ash/mus/window_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_WINDOW_MANAGER_H_ 5 #ifndef ASH_MUS_WINDOW_MANAGER_H_
6 #define ASH_MUS_WINDOW_MANAGER_H_ 6 #define ASH_MUS_WINDOW_MANAGER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
11 #include <set> 11 #include <set>
12 12
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/observer_list.h" 14 #include "base/observer_list.h"
15 #include "services/ui/common/types.h" 15 #include "services/ui/common/types.h"
16 #include "services/ui/public/cpp/window_manager_delegate.h" 16 #include "services/ui/public/cpp/window_manager_delegate.h"
17 #include "services/ui/public/cpp/window_observer.h" 17 #include "services/ui/public/cpp/window_observer.h"
18 #include "services/ui/public/cpp/window_tree_client_delegate.h" 18 #include "services/ui/public/cpp/window_tree_client_delegate.h"
19 #include "services/ui/public/interfaces/window_manager.mojom.h" 19 #include "services/ui/public/interfaces/window_manager.mojom.h"
20 20
21 namespace display { 21 namespace display {
22 class Display; 22 class Display;
23 class Screen; 23 class ScreenBase;
24 } 24 }
25 25
26 namespace shell { 26 namespace shell {
27 class Connector; 27 class Connector;
28 } 28 }
29 29
30 namespace views { 30 namespace views {
31 class PointerWatcherEventRouter; 31 class PointerWatcherEventRouter;
32 } 32 }
33 33
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 134
135 std::unique_ptr<views::PointerWatcherEventRouter> 135 std::unique_ptr<views::PointerWatcherEventRouter>
136 pointer_watcher_event_router_; 136 pointer_watcher_event_router_;
137 137
138 std::unique_ptr<ShadowController> shadow_controller_; 138 std::unique_ptr<ShadowController> shadow_controller_;
139 139
140 std::set<std::unique_ptr<RootWindowController>> root_window_controllers_; 140 std::set<std::unique_ptr<RootWindowController>> root_window_controllers_;
141 141
142 base::ObserverList<WindowManagerObserver> observers_; 142 base::ObserverList<WindowManagerObserver> observers_;
143 143
144 std::unique_ptr<display::Screen> screen_; 144 std::unique_ptr<display::ScreenBase> screen_;
145 145
146 std::unique_ptr<WmShellMus> shell_; 146 std::unique_ptr<WmShellMus> shell_;
147 147
148 std::unique_ptr<WmLookupMus> lookup_; 148 std::unique_ptr<WmLookupMus> lookup_;
149 149
150 std::map<uint16_t, AcceleratorHandler*> accelerator_handlers_; 150 std::map<uint16_t, AcceleratorHandler*> accelerator_handlers_;
151 uint16_t next_accelerator_namespace_id_ = 0u; 151 uint16_t next_accelerator_namespace_id_ = 0u;
152 152
153 DISALLOW_COPY_AND_ASSIGN(WindowManager); 153 DISALLOW_COPY_AND_ASSIGN(WindowManager);
154 }; 154 };
155 155
156 } // namespace mus 156 } // namespace mus
157 } // namespace ash 157 } // namespace ash
158 158
159 #endif // ASH_MUS_WINDOW_MANAGER_H_ 159 #endif // ASH_MUS_WINDOW_MANAGER_H_
OLDNEW
« no previous file with comments | « ash/mus/test/wm_test_screen.cc ('k') | ash/mus/window_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698