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

Unified Diff: ash/root_window_controller.h

Issue 2437393002: Remove ash::ShellDelegate::IsFirstRunAfterBoot method (Closed)
Patch Set: Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/mus/shell_delegate_mus.cc ('k') | ash/root_window_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/root_window_controller.h
diff --git a/ash/root_window_controller.h b/ash/root_window_controller.h
index f70d2dd73b7fc6002c6b7a6a7d7385be246680e7..3a7fdd04d834de69a394cdf82d685728125d3873 100644
--- a/ash/root_window_controller.h
+++ b/ash/root_window_controller.h
@@ -193,16 +193,15 @@ class ASH_EXPORT RootWindowController : public ShellObserver {
explicit RootWindowController(AshWindowTreeHost* host);
enum RootWindowType { PRIMARY, SECONDARY };
- // Initializes the RootWindowController. |is_primary| is true if
- // the controller is for primary display. |first_run_after_boot| is
- // set to true only for primary root window after boot.
- void Init(RootWindowType root_window_type, bool first_run_after_boot);
+ // Initializes the RootWindowController based on |root_window_type|.
+ void Init(RootWindowType root_window_type);
void InitLayoutManagers();
// Initializes |system_wallpaper_| and possibly also |boot_splash_screen_|.
- // |is_first_run_after_boot| determines the wallpaper's initial color.
- void CreateSystemWallpaper(bool is_first_run_after_boot);
+ // The initial color is determined by the |root_window_type| and whether or
+ // not this is the first boot.
+ void CreateSystemWallpaper(RootWindowType root_window_type);
// Enables projection touch HUD.
void EnableTouchHudProjection();
« no previous file with comments | « ash/mus/shell_delegate_mus.cc ('k') | ash/root_window_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698