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"); |