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

Unified Diff: chrome/browser/chromeos/login/webui_login_display_host.h

Issue 10889024: [cros] Initialize OOBE in parallel when boot animation is disabled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Subscription fixes Created 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/login/webui_login_display_host.h
diff --git a/chrome/browser/chromeos/login/webui_login_display_host.h b/chrome/browser/chromeos/login/webui_login_display_host.h
index 8e710b4b0cac4e2b9a97d34e0f4660397e69e49e..aaf96602e29f75d0889ffb519c3483d152188b0b 100644
--- a/chrome/browser/chromeos/login/webui_login_display_host.h
+++ b/chrome/browser/chromeos/login/webui_login_display_host.h
@@ -90,22 +90,24 @@ class WebUILoginDisplayHost : public BaseLoginDisplayHost,
// received.
bool is_wallpaper_loaded_;
- // True if WebUI is initialized hidden in parallel with wallpaper animation.
- // Otherwise it is postponed and only starts initializing when animation
- // finishes. Makes sense only if |waiting_for_wallpaper_load_| is true.
- // By default is true. Could be used to tune performance if needed.
- bool initialize_webui_in_parallel_;
-
// Stores status area current visibility to be applied once login WebUI
// is shown.
bool status_area_saved_visibility_;
- // True if should not show WebUI on first StartWizard/StartSignInScreen call
- // but wait for wallpaper load animation to finish.
- // OOBE/sign in WebUI is either initialized hidden or postponed i.e. loaded
- // only when wallpaper animation finishes.
+ // If true, WebUI is initialized in a hidden state and shown after the
+ // wallpaper animation is finished (when it is enabled) or the user pods have
+ // been loaded (otherwise).
+ // By default is true. Could be used to tune performance if needed.
+ bool initialize_webui_hidden_;
+
+ // True if WebUI is initialized in hidden state and we're waiting for
+ // wallpaper load animation to finish.
bool waiting_for_wallpaper_load_;
+ // True if WebUI is initialized in hidden state and we're waiting for user
+ // pods to load.
+ bool waiting_for_user_pods_;
+
content::NotificationRegistrar registrar_;
// How many times renderer has crashed.

Powered by Google App Engine
This is Rietveld 408576698