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

Unified Diff: chrome/browser/ui/webui/chromeos/login/oobe_ui.cc

Issue 10834081: Enable wallpaper boot animation for boot into sign in too. Add flag to disable it. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: zero Created 8 years, 5 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/ui/webui/chromeos/login/oobe_ui.cc
diff --git a/chrome/browser/ui/webui/chromeos/login/oobe_ui.cc b/chrome/browser/ui/webui/chromeos/login/oobe_ui.cc
index 9ff15674f5c24ca611fae287e20a2b69085370ac..89673e557e3737ac23c799158a5c43858039f58b 100644
--- a/chrome/browser/ui/webui/chromeos/login/oobe_ui.cc
+++ b/chrome/browser/ui/webui/chromeos/login/oobe_ui.cc
@@ -243,6 +243,15 @@ void OobeUI::GetLocalizedStrings(base::DictionaryValue* localized_strings) {
else
localized_strings->SetString("oobeType", "old");
+ // If we're not doing boot animation then WebUI
+ // should trigger wallpaper load on boot.
bshe 2012/07/31 16:04:23 nit: more words can be fitted to previous line?
Nikita (slow) 2012/08/01 02:09:06 Done.
+ if (CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kDisableBootAnimation)) {
bshe 2012/07/31 16:04:23 nit: indent is off here.
Nikita (slow) 2012/08/01 02:09:06 I think it is not as it is essentially the same st
+ localized_strings->SetString("bootIntoWallpaper", "on");
+ } else {
+ localized_strings->SetString("bootIntoWallpaper", "off");
+ }
+
// OobeUI is used for OOBE/login and lock screen.
if (BaseLoginDisplayHost::default_host())
localized_strings->SetString("screenType", "login");

Powered by Google App Engine
This is Rietveld 408576698