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

Side by Side Diff: ash/root_window_controller.h

Issue 2904273002: [mus+ash] Removes WmWindow from RootWindowcontroller implementation (Closed)
Patch Set: [mus+ash] Removes WmWindow from RootWindowcontroller implementation (rebased) 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/non_client_frame_controller.cc ('k') | ash/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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_ROOT_WINDOW_CONTROLLER_H_ 5 #ifndef ASH_ROOT_WINDOW_CONTROLLER_H_
6 #define ASH_ROOT_WINDOW_CONTROLLER_H_ 6 #define ASH_ROOT_WINDOW_CONTROLLER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <vector> 10 #include <vector>
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 // of the supplied arguments. 291 // of the supplied arguments.
292 // TODO(sky): mash should create AshWindowTreeHost, http://crbug.com/671246. 292 // TODO(sky): mash should create AshWindowTreeHost, http://crbug.com/671246.
293 RootWindowController(AshWindowTreeHost* ash_host, 293 RootWindowController(AshWindowTreeHost* ash_host,
294 aura::WindowTreeHost* window_tree_host); 294 aura::WindowTreeHost* window_tree_host);
295 295
296 // Initializes the RootWindowController based on |root_window_type|. 296 // Initializes the RootWindowController based on |root_window_type|.
297 void Init(RootWindowType root_window_type); 297 void Init(RootWindowType root_window_type);
298 298
299 void InitLayoutManagers(); 299 void InitLayoutManagers();
300 300
301 // Creates the containers (WmWindows) used by the shell. 301 // Creates the containers (aura::Windows) used by the shell.
302 void CreateContainers(); 302 void CreateContainers();
303 303
304 // Initializes |system_wallpaper_| and possibly also |boot_splash_screen_|. 304 // Initializes |system_wallpaper_| and possibly also |boot_splash_screen_|.
305 // The initial color is determined by the |root_window_type| and whether or 305 // The initial color is determined by the |root_window_type| and whether or
306 // not this is the first boot. 306 // not this is the first boot.
307 void CreateSystemWallpaper(RootWindowType root_window_type); 307 void CreateSystemWallpaper(RootWindowType root_window_type);
308 308
309 // Enables projection touch HUD. 309 // Enables projection touch HUD.
310 void EnableTouchHudProjection(); 310 void EnableTouchHudProjection();
311 311
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 379
380 // On classic ash, returns the RootWindowController for the given |root_window|. 380 // On classic ash, returns the RootWindowController for the given |root_window|.
381 // On mus ash, returns the RootWindowController for the primary display. 381 // On mus ash, returns the RootWindowController for the primary display.
382 // See RootWindowController class comment above. 382 // See RootWindowController class comment above.
383 ASH_EXPORT RootWindowController* GetRootWindowController( 383 ASH_EXPORT RootWindowController* GetRootWindowController(
384 const aura::Window* root_window); 384 const aura::Window* root_window);
385 385
386 } // namespace ash 386 } // namespace ash
387 387
388 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_ 388 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ash/mus/non_client_frame_controller.cc ('k') | ash/root_window_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698