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

Side by Side Diff: chrome/browser/resources/options/browser_options.js

Issue 14710011: Redesign display options for ChromeOS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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 cr.define('options', function() { 5 cr.define('options', function() {
6 var OptionsPage = options.OptionsPage; 6 var OptionsPage = options.OptionsPage;
7 var ArrayDataModel = cr.ui.ArrayDataModel; 7 var ArrayDataModel = cr.ui.ArrayDataModel;
8 var RepeatingButton = cr.ui.RepeatingButton; 8 var RepeatingButton = cr.ui.RepeatingButton;
9 9
10 // 10 //
(...skipping 1266 matching lines...) Expand 10 before | Expand all | Expand 10 after
1277 /** 1277 /**
1278 * Show/hide touchpad-related settings. 1278 * Show/hide touchpad-related settings.
1279 * @private 1279 * @private
1280 */ 1280 */
1281 showTouchpadControls_: function(show) { 1281 showTouchpadControls_: function(show) {
1282 $('touchpad-settings').hidden = !show; 1282 $('touchpad-settings').hidden = !show;
1283 $('accessibility-tap-dragging').hidden = !show; 1283 $('accessibility-tap-dragging').hidden = !show;
1284 }, 1284 },
1285 1285
1286 /** 1286 /**
1287 * Show/hide the display options button on the System settings page.
1288 * @private
1289 */
1290 showDisplayOptions_: function(show) {
1291 $('display-options-section').hidden = !show;
1292 },
1293
1294 /**
1295 * Activate the Bluetooth settings section on the System settings page. 1287 * Activate the Bluetooth settings section on the System settings page.
1296 * @private 1288 * @private
1297 */ 1289 */
1298 showBluetoothSettings_: function() { 1290 showBluetoothSettings_: function() {
1299 $('bluetooth-devices').hidden = false; 1291 $('bluetooth-devices').hidden = false;
1300 }, 1292 },
1301 1293
1302 /** 1294 /**
1303 * Dectivates the Bluetooth settings section from the System settings page. 1295 * Dectivates the Bluetooth settings section from the System settings page.
1304 * @private 1296 * @private
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
1401 'setMetricsReportingSettingVisibility', 1393 'setMetricsReportingSettingVisibility',
1402 'setPasswordGenerationSettingVisibility', 1394 'setPasswordGenerationSettingVisibility',
1403 'setProfilesInfo', 1395 'setProfilesInfo',
1404 'setSpokenFeedbackCheckboxState', 1396 'setSpokenFeedbackCheckboxState',
1405 'setThemesResetButtonEnabled', 1397 'setThemesResetButtonEnabled',
1406 'setVirtualKeyboardCheckboxState', 1398 'setVirtualKeyboardCheckboxState',
1407 'setupCloudPrintConnectorSection', 1399 'setupCloudPrintConnectorSection',
1408 'setupPageZoomSelector', 1400 'setupPageZoomSelector',
1409 'setupProxySettingsSection', 1401 'setupProxySettingsSection',
1410 'showBluetoothSettings', 1402 'showBluetoothSettings',
1411 'showDisplayOptions',
1412 'showMouseControls', 1403 'showMouseControls',
1413 'showTouchpadControls', 1404 'showTouchpadControls',
1414 'updateAccountPicture', 1405 'updateAccountPicture',
1415 'updateAutoLaunchState', 1406 'updateAutoLaunchState',
1416 'updateDefaultBrowserState', 1407 'updateDefaultBrowserState',
1417 'updateInstantCheckboxState', 1408 'updateInstantCheckboxState',
1418 'updateSearchEngines', 1409 'updateSearchEngines',
1419 'updateStartupPages', 1410 'updateStartupPages',
1420 'updateSyncState', 1411 'updateSyncState',
1421 ].forEach(function(name) { 1412 ].forEach(function(name) {
(...skipping 12 matching lines...) Expand all
1434 BrowserOptions.getLoggedInUsername = function() { 1425 BrowserOptions.getLoggedInUsername = function() {
1435 return BrowserOptions.getInstance().username_; 1426 return BrowserOptions.getInstance().username_;
1436 }; 1427 };
1437 } 1428 }
1438 1429
1439 // Export 1430 // Export
1440 return { 1431 return {
1441 BrowserOptions: BrowserOptions 1432 BrowserOptions: BrowserOptions
1442 }; 1433 };
1443 }); 1434 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/options/browser_options.html ('k') | chrome/browser/resources/options/chromeos/display_options.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698