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

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

Issue 2269433002: ChromeOS: Add more controls to OOBE EULA screen. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add comment. Created 4 years, 3 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_eula.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 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 chrome.send('enableVirtualKeyboard', [$('virtual-keyboard').checked]); 239 chrome.send('enableVirtualKeyboard', [$('virtual-keyboard').checked]);
240 e.stopPropagation(); 240 e.stopPropagation();
241 }, 241 },
242 242
243 /** 243 /**
244 * Sets usage statistics checkbox. 244 * Sets usage statistics checkbox.
245 * @param {boolean} checked Is the checkbox checked? 245 * @param {boolean} checked Is the checkbox checked?
246 */ 246 */
247 setUsageStats: function(checked) { 247 setUsageStats: function(checked) {
248 $('usage-stats').checked = checked; 248 $('usage-stats').checked = checked;
249 $('oobe-eula-md').usageStatsChecked = checked;
249 }, 250 },
250 251
251 /** 252 /**
252 * Set OEM EULA URL. 253 * Set OEM EULA URL.
253 * @param {text} oemEulaUrl OEM EULA URL. 254 * @param {text} oemEulaUrl OEM EULA URL.
254 */ 255 */
255 setOemEulaUrl: function(oemEulaUrl) { 256 setOemEulaUrl: function(oemEulaUrl) {
256 if (oemEulaUrl) { 257 if (oemEulaUrl) {
257 $('oem-eula-frame').src = oemEulaUrl; 258 $('oem-eula-frame').src = oemEulaUrl;
258 $('eulas').classList.remove('one-column'); 259 $('eulas').classList.remove('one-column');
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 /** 337 /**
337 * Updates localized content of the screens. 338 * Updates localized content of the screens.
338 * Should be executed on language change. 339 * Should be executed on language change.
339 */ 340 */
340 updateLocalizedContent: function() { 341 updateLocalizedContent: function() {
341 // Buttons, headers and links. 342 // Buttons, headers and links.
342 Oobe.getInstance().updateLocalizedContent_(); 343 Oobe.getInstance().updateLocalizedContent_();
343 }, 344 },
344 }; 345 };
345 }); 346 });
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/login/oobe_eula.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698