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

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

Issue 2904993003: chromeos: changes how DisplayManagerObservers are notified (Closed)
Patch Set: cleanup Created 3 years, 7 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/display_synchronizer.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>
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 131
132 // Called once the first Display has been obtained. 132 // Called once the first Display has been obtained.
133 void CreateShell( 133 void CreateShell(
134 std::unique_ptr<aura::WindowTreeHostMus> primary_window_tree_host); 134 std::unique_ptr<aura::WindowTreeHostMus> primary_window_tree_host);
135 135
136 void CreateAndRegisterRootWindowController( 136 void CreateAndRegisterRootWindowController(
137 std::unique_ptr<aura::WindowTreeHostMus> window_tree_host, 137 std::unique_ptr<aura::WindowTreeHostMus> window_tree_host,
138 const display::Display& display, 138 const display::Display& display,
139 ash::RootWindowController::RootWindowType root_window_type); 139 ash::RootWindowController::RootWindowType root_window_type);
140 140
141 // Sets the frame decoration values on the server.
142 void InstallFrameDecorationValues();
143
141 // Deletes the specified RootWindowController. Called when a display is 144 // Deletes the specified RootWindowController. Called when a display is
142 // removed. |in_shutdown| is true if called from Shutdown(). 145 // removed. |in_shutdown| is true if called from Shutdown().
143 void DestroyRootWindowController(RootWindowController* root_window_controller, 146 void DestroyRootWindowController(RootWindowController* root_window_controller,
144 bool in_shutdown); 147 bool in_shutdown);
145 148
146 void Shutdown(); 149 void Shutdown();
147 150
148 // WindowTreeClientDelegate: 151 // WindowTreeClientDelegate:
149 void OnEmbed( 152 void OnEmbed(
150 std::unique_ptr<aura::WindowTreeHostMus> window_tree_host) override; 153 std::unique_ptr<aura::WindowTreeHostMus> window_tree_host) override;
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 243
241 std::unique_ptr<ui::InputDeviceClient> input_device_client_; 244 std::unique_ptr<ui::InputDeviceClient> input_device_client_;
242 245
243 DISALLOW_COPY_AND_ASSIGN(WindowManager); 246 DISALLOW_COPY_AND_ASSIGN(WindowManager);
244 }; 247 };
245 248
246 } // namespace mus 249 } // namespace mus
247 } // namespace ash 250 } // namespace ash
248 251
249 #endif // ASH_MUS_WINDOW_MANAGER_H_ 252 #endif // ASH_MUS_WINDOW_MANAGER_H_
OLDNEW
« no previous file with comments | « ash/mus/display_synchronizer.cc ('k') | ash/mus/window_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698