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

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

Issue 2648623002: ChromeOS OOBE: make "System Security Settings" popup dialog backgroung gray. (Closed)
Patch Set: Update after review. 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
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/login/oobe_popup_overlay.css » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 }, 326 },
327 327
328 /** 328 /**
329 * This method takes care of switching to material-design OOBE. 329 * This method takes care of switching to material-design OOBE.
330 * @private 330 * @private
331 */ 331 */
332 setMDMode_: function() { 332 setMDMode_: function() {
333 if (loadTimeData.getString('newOobeUI') == 'on') { 333 if (loadTimeData.getString('newOobeUI') == 'on') {
334 $('oobe').setAttribute('md-mode', 'true'); 334 $('oobe').setAttribute('md-mode', 'true');
335 $('oobe-shield').setAttribute('md-mode', 'true'); 335 $('oobe-shield').setAttribute('md-mode', 'true');
336 $('popup-overlay').setAttribute('md-mode', 'true');
336 } else { 337 } else {
337 $('oobe').removeAttribute('md-mode'); 338 $('oobe').removeAttribute('md-mode');
338 $('oobe-shield').removeAttribute('md-mode'); 339 $('oobe-shield').removeAttribute('md-mode');
340 $('popup-overlay').removeAttribute('md-mode');
339 } 341 }
340 }, 342 },
341 }; 343 };
342 }); 344 });
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/login/oobe_popup_overlay.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698