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

Side by Side Diff: ash/root_window_controller.h

Issue 2739553005: Moves maintaining root_window_for_new_windows_ to Shell (Closed)
Patch Set: remove ash:: Created 3 years, 9 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/top_level_window_factory.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 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 // The initial color is determined by the |root_window_type| and whether or 312 // The initial color is determined by the |root_window_type| and whether or
313 // not this is the first boot. 313 // not this is the first boot.
314 void CreateSystemWallpaper(RootWindowType root_window_type); 314 void CreateSystemWallpaper(RootWindowType root_window_type);
315 315
316 // Enables projection touch HUD. 316 // Enables projection touch HUD.
317 void EnableTouchHudProjection(); 317 void EnableTouchHudProjection();
318 318
319 // Disables projection touch HUD. 319 // Disables projection touch HUD.
320 void DisableTouchHudProjection(); 320 void DisableTouchHudProjection();
321 321
322 // Resets WmShell::GetRootWindowForNewWindows() if appropriate. This is called 322 // Resets Shell::GetRootWindowForNewWindows() if appropriate. This is called
323 // during shutdown to make sure GetRootWindowForNewWindows() isn't referencing 323 // during shutdown to make sure GetRootWindowForNewWindows() isn't referencing
324 // this. 324 // this.
325 void ResetRootForNewWindowsIfNecessary(); 325 void ResetRootForNewWindowsIfNecessary();
326 326
327 // Callback for MenuModelAdapter. 327 // Callback for MenuModelAdapter.
328 void OnMenuClosed(); 328 void OnMenuClosed();
329 329
330 // Overridden from ShellObserver. 330 // Overridden from ShellObserver.
331 void OnLoginStateChanged(LoginStatus status) override; 331 void OnLoginStateChanged(LoginStatus status) override;
332 void OnTouchHudProjectionToggled(bool enabled) override; 332 void OnTouchHudProjectionToggled(bool enabled) override;
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 384
385 // On classic ash, returns the RootWindowController for the given |root_window|. 385 // On classic ash, returns the RootWindowController for the given |root_window|.
386 // On mus ash, returns the RootWindowController for the primary display. 386 // On mus ash, returns the RootWindowController for the primary display.
387 // See RootWindowController class comment above. 387 // See RootWindowController class comment above.
388 ASH_EXPORT RootWindowController* GetRootWindowController( 388 ASH_EXPORT RootWindowController* GetRootWindowController(
389 const aura::Window* root_window); 389 const aura::Window* root_window);
390 390
391 } // namespace ash 391 } // namespace ash
392 392
393 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_ 393 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ash/mus/top_level_window_factory.cc ('k') | ash/root_window_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698