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

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: . 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
« no previous file with comments | « chrome/browser/resources/chromeos/login/user_pod_row.js ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..a35c5767a4ee56d8c15da832456ede0440de2d58 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.
+ if (CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kDisableBootAnimation)) {
+ 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");
« no previous file with comments | « chrome/browser/resources/chromeos/login/user_pod_row.js ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698