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

Side by Side Diff: chrome/browser/resources/chromeos/login/oobe.js

Issue 2635493004: ChromeOS OOBE: update MD-OOBE after UI review. (Closed)
Patch Set: Added oobe-shield. Created 3 years, 11 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @fileoverview Out of the box experience flow (OOBE). 6 * @fileoverview Out of the box experience flow (OOBE).
7 * This is the main code for the OOBE WebUI implementation. 7 * This is the main code for the OOBE WebUI implementation.
8 */ 8 */
9 9
10 // <include src="login_shared.js"> 10 // <include src="login_shared.js">
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 Oobe.getInstance().updateLocalizedContent_(); 324 Oobe.getInstance().updateLocalizedContent_();
325 }, 325 },
326 326
327 /** 327 /**
328 * This method takes care of switching to material-design OOBE. 328 * This method takes care of switching to material-design OOBE.
329 * @private 329 * @private
330 */ 330 */
331 setMDMode_: function() { 331 setMDMode_: function() {
332 if (loadTimeData.getString('newOobeUI') == 'on') { 332 if (loadTimeData.getString('newOobeUI') == 'on') {
333 $('oobe').setAttribute('md-mode', 'true'); 333 $('oobe').setAttribute('md-mode', 'true');
334 $('oobe-shield').setAttribute('md-mode', 'true');
334 } else { 335 } else {
335 $('oobe').removeAttribute('md-mode'); 336 $('oobe').removeAttribute('md-mode');
337 $('oobe-shield').removeAttribute('md-mode');
336 } 338 }
337 }, 339 },
338 }; 340 };
339 }); 341 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698