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

Side by Side Diff: services/ui/ws/window_manager_display_root.h

Issue 2537343006: services: Cleanup class/struct fwd declarations (Closed)
Patch Set: Rebase on top of master #2 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 SERVICES_UI_WS_WINDOW_MANAGER_DISPLAY_ROOT_H_ 5 #ifndef SERVICES_UI_WS_WINDOW_MANAGER_DISPLAY_ROOT_H_
6 #define SERVICES_UI_WS_WINDOW_MANAGER_DISPLAY_ROOT_H_ 6 #define SERVICES_UI_WS_WINDOW_MANAGER_DISPLAY_ROOT_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
11 11
12 #include "base/macros.h" 12 #include "base/macros.h"
13 13
14 namespace ui { 14 namespace ui {
15 namespace ws { 15 namespace ws {
16 16
17 class Display; 17 class Display;
18 class ServerWindow; 18 class ServerWindow;
19 class WindowManagerState; 19 class WindowManagerState;
20 class WindowServer; 20 class WindowServer;
21 21
22 namespace test {
23 class WindowManagerDisplayRootTestApi;
24 }
25
26 // Owns the root window of a window manager for one display. Each window manager 22 // Owns the root window of a window manager for one display. Each window manager
27 // has one WindowManagerDisplayRoot for each Display. The root window is 23 // has one WindowManagerDisplayRoot for each Display. The root window is
28 // parented to the root of a Display. 24 // parented to the root of a Display.
29 class WindowManagerDisplayRoot { 25 class WindowManagerDisplayRoot {
30 public: 26 public:
31 explicit WindowManagerDisplayRoot(Display* display); 27 explicit WindowManagerDisplayRoot(Display* display);
32 ~WindowManagerDisplayRoot(); 28 ~WindowManagerDisplayRoot();
33 29
34 ServerWindow* root() { return root_.get(); } 30 ServerWindow* root() { return root_.get(); }
35 const ServerWindow* root() const { return root_.get(); } 31 const ServerWindow* root() const { return root_.get(); }
(...skipping 18 matching lines...) Expand all
54 std::unique_ptr<ServerWindow> root_; 50 std::unique_ptr<ServerWindow> root_;
55 WindowManagerState* window_manager_state_ = nullptr; 51 WindowManagerState* window_manager_state_ = nullptr;
56 52
57 DISALLOW_COPY_AND_ASSIGN(WindowManagerDisplayRoot); 53 DISALLOW_COPY_AND_ASSIGN(WindowManagerDisplayRoot);
58 }; 54 };
59 55
60 } // namespace ws 56 } // namespace ws
61 } // namespace ui 57 } // namespace ui
62 58
63 #endif // SERVICES_UI_WS_WINDOW_MANAGER_DISPLAY_ROOT_H_ 59 #endif // SERVICES_UI_WS_WINDOW_MANAGER_DISPLAY_ROOT_H_
OLDNEW
« no previous file with comments | « services/ui/ws/user_display_manager_delegate.h ('k') | services/ui/ws/window_manager_window_tree_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698