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

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

Issue 2182633011: Replaces ::ui:: with ui:: in ash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/window_manager.cc ('k') | ash/mus/window_manager_application.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_APPLICATION_H_ 5 #ifndef ASH_MUS_WINDOW_MANAGER_APPLICATION_H_
6 #define ASH_MUS_WINDOW_MANAGER_APPLICATION_H_ 6 #define ASH_MUS_WINDOW_MANAGER_APPLICATION_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 26 matching lines...) Expand all
37 class AcceleratorRegistrarImpl; 37 class AcceleratorRegistrarImpl;
38 class RootWindowController; 38 class RootWindowController;
39 class ShelfLayoutImpl; 39 class ShelfLayoutImpl;
40 class UserWindowControllerImpl; 40 class UserWindowControllerImpl;
41 class WindowManager; 41 class WindowManager;
42 42
43 class WindowManagerApplication 43 class WindowManagerApplication
44 : public shell::Service, 44 : public shell::Service,
45 public shell::InterfaceFactory<mojom::ShelfLayout>, 45 public shell::InterfaceFactory<mojom::ShelfLayout>,
46 public shell::InterfaceFactory<mojom::UserWindowController>, 46 public shell::InterfaceFactory<mojom::UserWindowController>,
47 public shell::InterfaceFactory<::ui::mojom::AcceleratorRegistrar>, 47 public shell::InterfaceFactory<ui::mojom::AcceleratorRegistrar>,
48 public mash::session::mojom::ScreenlockStateListener, 48 public mash::session::mojom::ScreenlockStateListener,
49 public WindowManagerObserver { 49 public WindowManagerObserver {
50 public: 50 public:
51 WindowManagerApplication(); 51 WindowManagerApplication();
52 ~WindowManagerApplication() override; 52 ~WindowManagerApplication() override;
53 53
54 WindowManager* window_manager() { return window_manager_.get(); } 54 WindowManager* window_manager() { return window_manager_.get(); }
55 55
56 mash::session::mojom::Session* session() { return session_.get(); } 56 mash::session::mojom::Session* session() { return session_.get(); }
57 57
58 private: 58 private:
59 friend class WmTestBase; 59 friend class WmTestBase;
60 friend class WmTestHelper; 60 friend class WmTestHelper;
61 61
62 void OnAcceleratorRegistrarDestroyed(AcceleratorRegistrarImpl* registrar); 62 void OnAcceleratorRegistrarDestroyed(AcceleratorRegistrarImpl* registrar);
63 63
64 void InitWindowManager(::ui::WindowTreeClient* window_tree_client); 64 void InitWindowManager(ui::WindowTreeClient* window_tree_client);
65 65
66 // shell::Service: 66 // shell::Service:
67 void OnStart(const shell::Identity& identity) override; 67 void OnStart(const shell::Identity& identity) override;
68 bool OnConnect(shell::Connection* connection) override; 68 bool OnConnect(shell::Connection* connection) override;
69 69
70 // shell::InterfaceFactory<mojom::ShelfLayout>: 70 // shell::InterfaceFactory<mojom::ShelfLayout>:
71 void Create(const shell::Identity& remote_identity, 71 void Create(const shell::Identity& remote_identity,
72 mojo::InterfaceRequest<mojom::ShelfLayout> request) override; 72 mojo::InterfaceRequest<mojom::ShelfLayout> request) override;
73 73
74 // shell::InterfaceFactory<mojom::UserWindowController>: 74 // shell::InterfaceFactory<mojom::UserWindowController>:
75 void Create( 75 void Create(
76 const shell::Identity& remote_identity, 76 const shell::Identity& remote_identity,
77 mojo::InterfaceRequest<mojom::UserWindowController> request) override; 77 mojo::InterfaceRequest<mojom::UserWindowController> request) override;
78 78
79 // shell::InterfaceFactory<ui::mojom::AcceleratorRegistrar>: 79 // shell::InterfaceFactory<ui::mojom::AcceleratorRegistrar>:
80 void Create(const shell::Identity& remote_identity, 80 void Create(
81 mojo::InterfaceRequest<::ui::mojom::AcceleratorRegistrar> request) 81 const shell::Identity& remote_identity,
82 override; 82 mojo::InterfaceRequest<ui::mojom::AcceleratorRegistrar> request) override;
83 83
84 // session::mojom::ScreenlockStateListener: 84 // session::mojom::ScreenlockStateListener:
85 void ScreenlockStateChanged(bool locked) override; 85 void ScreenlockStateChanged(bool locked) override;
86 86
87 // WindowManagerObserver: 87 // WindowManagerObserver:
88 void OnRootWindowControllerAdded(RootWindowController* controller) override; 88 void OnRootWindowControllerAdded(RootWindowController* controller) override;
89 void OnWillDestroyRootWindowController( 89 void OnWillDestroyRootWindowController(
90 RootWindowController* controller) override; 90 RootWindowController* controller) override;
91 91
92 mojo::TracingImpl tracing_; 92 mojo::TracingImpl tracing_;
(...skipping 24 matching lines...) Expand all
117 mojo::Binding<mash::session::mojom::ScreenlockStateListener> 117 mojo::Binding<mash::session::mojom::ScreenlockStateListener>
118 screenlock_state_listener_binding_; 118 screenlock_state_listener_binding_;
119 119
120 DISALLOW_COPY_AND_ASSIGN(WindowManagerApplication); 120 DISALLOW_COPY_AND_ASSIGN(WindowManagerApplication);
121 }; 121 };
122 122
123 } // namespace mus 123 } // namespace mus
124 } // namespace ash 124 } // namespace ash
125 125
126 #endif // ASH_MUS_WINDOW_MANAGER_APPLICATION_H_ 126 #endif // ASH_MUS_WINDOW_MANAGER_APPLICATION_H_
OLDNEW
« no previous file with comments | « ash/mus/window_manager.cc ('k') | ash/mus/window_manager_application.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698