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

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

Issue 155573003: Add policy management for on-screen keyboard. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update recommendation restorer. Created 6 years, 10 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 | Annotate | Revision Log
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_common.js"></include> 10 <include src="login_common.js"></include>
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 220
221 /** 221 /**
222 * Refreshes a11y menu state. 222 * Refreshes a11y menu state.
223 * @param {!Object} data New dictionary with a11y features state. 223 * @param {!Object} data New dictionary with a11y features state.
224 */ 224 */
225 refreshA11yInfo: function(data) { 225 refreshA11yInfo: function(data) {
226 $('high-contrast').checked = data.highContrastEnabled; 226 $('high-contrast').checked = data.highContrastEnabled;
227 $('spoken-feedback').checked = data.spokenFeedbackEnabled; 227 $('spoken-feedback').checked = data.spokenFeedbackEnabled;
228 $('screen-magnifier').checked = data.screenMagnifierEnabled; 228 $('screen-magnifier').checked = data.screenMagnifierEnabled;
229 $('large-cursor').checked = data.largeCursorEnabled; 229 $('large-cursor').checked = data.largeCursorEnabled;
230 $('virtual-keyboard').checked = data.virtualKeyboardEnabled;
230 }, 231 },
231 232
232 /** 233 /**
233 * Reloads content of the page (localized strings, options of the select 234 * Reloads content of the page (localized strings, options of the select
234 * controls). 235 * controls).
235 * @param {!Object} data New dictionary with i18n values. 236 * @param {!Object} data New dictionary with i18n values.
236 */ 237 */
237 reloadContent: function(data) { 238 reloadContent: function(data) {
238 // Reload global local strings, process DOM tree again. 239 // Reload global local strings, process DOM tree again.
239 loadTimeData.overrideValues(data); 240 loadTimeData.overrideValues(data);
(...skipping 11 matching lines...) Expand all
251 /** 252 /**
252 * Updates localized content of the screens. 253 * Updates localized content of the screens.
253 * Should be executed on language change. 254 * Should be executed on language change.
254 */ 255 */
255 updateLocalizedContent: function() { 256 updateLocalizedContent: function() {
256 // Buttons, headers and links. 257 // Buttons, headers and links.
257 Oobe.getInstance().updateLocalizedContent_(); 258 Oobe.getInstance().updateLocalizedContent_();
258 } 259 }
259 }; 260 };
260 }); 261 });
OLDNEW
« no previous file with comments | « chrome/browser/policy/policy_browsertest.cc ('k') | chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698