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

Side by Side Diff: mash/wm/root_window_controller.h

Issue 1679573002: Move shell interfaces into the shell.mojom namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@delegate
Patch Set: . Created 4 years, 10 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 | « mash/wm/non_client_frame_controller.cc ('k') | mash/wm/root_window_controller.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 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 MASH_WM_ROOT_WINDOW_CONTROLLER_H_ 5 #ifndef MASH_WM_ROOT_WINDOW_CONTROLLER_H_
6 #define MASH_WM_ROOT_WINDOW_CONTROLLER_H_ 6 #define MASH_WM_ROOT_WINDOW_CONTROLLER_H_
7 7
8 #include "components/mus/public/cpp/window_observer.h" 8 #include "components/mus/public/cpp/window_observer.h"
9 #include "components/mus/public/cpp/window_tree_delegate.h" 9 #include "components/mus/public/cpp/window_tree_delegate.h"
10 #include "components/mus/public/interfaces/window_manager_constants.mojom.h" 10 #include "components/mus/public/interfaces/window_manager_constants.mojom.h"
11 #include "components/mus/public/interfaces/window_tree_host.mojom.h" 11 #include "components/mus/public/interfaces/window_tree_host.mojom.h"
12 #include "mash/wm/public/interfaces/container.mojom.h" 12 #include "mash/wm/public/interfaces/container.mojom.h"
13 #include "mojo/public/cpp/bindings/binding.h" 13 #include "mojo/public/cpp/bindings/binding.h"
14 14
15 namespace mojo { 15 namespace mojo {
16 namespace shell {
17 namespace mojom {
16 class Shell; 18 class Shell;
17 } 19 }
20 }
21 }
18 22
19 namespace mus { 23 namespace mus {
20 class WindowManagerClient; 24 class WindowManagerClient;
21 } 25 }
22 26
23 namespace mash { 27 namespace mash {
24 namespace wm { 28 namespace wm {
25 29
26 class BackgroundLayout; 30 class BackgroundLayout;
27 class ScreenlockLayout; 31 class ScreenlockLayout;
(...skipping 13 matching lines...) Expand all
41 static RootWindowController* CreateUsingWindowTreeHost( 45 static RootWindowController* CreateUsingWindowTreeHost(
42 WindowManagerApplication* app); 46 WindowManagerApplication* app);
43 static RootWindowController* CreateFromDisplay( 47 static RootWindowController* CreateFromDisplay(
44 WindowManagerApplication* app, 48 WindowManagerApplication* app,
45 mus::mojom::DisplayPtr display, 49 mus::mojom::DisplayPtr display,
46 mojo::InterfaceRequest<mus::mojom::WindowTreeClient> client_request); 50 mojo::InterfaceRequest<mus::mojom::WindowTreeClient> client_request);
47 51
48 // Deletes this. 52 // Deletes this.
49 void Destroy(); 53 void Destroy();
50 54
51 mojo::Shell* GetShell(); 55 mojo::shell::mojom::Shell* GetShell();
52 56
53 mus::Window* root() { return root_; } 57 mus::Window* root() { return root_; }
54 58
55 int window_count() { return window_count_; } 59 int window_count() { return window_count_; }
56 void IncrementWindowCount() { ++window_count_; } 60 void IncrementWindowCount() { ++window_count_; }
57 61
58 mus::Window* GetWindowForContainer(mojom::Container container); 62 mus::Window* GetWindowForContainer(mojom::Container container);
59 mus::Window* GetWindowById(mus::Id id); 63 mus::Window* GetWindowById(mus::Id id);
60 bool WindowIsContainer(const mus::Window* window) const; 64 bool WindowIsContainer(const mus::Window* window) const;
61 65
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 104
101 mus::mojom::DisplayPtr display_; 105 mus::mojom::DisplayPtr display_;
102 106
103 DISALLOW_COPY_AND_ASSIGN(RootWindowController); 107 DISALLOW_COPY_AND_ASSIGN(RootWindowController);
104 }; 108 };
105 109
106 } // namespace wm 110 } // namespace wm
107 } // namespace mash 111 } // namespace mash
108 112
109 #endif // MASH_WM_ROOT_WINDOW_CONTROLLER_H_ 113 #endif // MASH_WM_ROOT_WINDOW_CONTROLLER_H_
OLDNEW
« no previous file with comments | « mash/wm/non_client_frame_controller.cc ('k') | mash/wm/root_window_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698