| Index: chrome/browser/resources/options2/browser_options.js
|
| diff --git a/chrome/browser/resources/options2/browser_options.js b/chrome/browser/resources/options2/browser_options.js
|
| index 9495aaed659d7a446b5f88a17c6c93a51689cd26..d38e7097b7ef8b1f26680bef72f2692e08fc4a5a 100644
|
| --- a/chrome/browser/resources/options2/browser_options.js
|
| +++ b/chrome/browser/resources/options2/browser_options.js
|
| @@ -482,6 +482,15 @@ cr.define('options', function() {
|
| };
|
| }
|
|
|
| + // Display management section (CrOS only).
|
| + if (cr.isChromeOS) {
|
| + $('display-options-button').onclick = function(event) {
|
| + OptionsPage.navigateToPage('display');
|
| + chrome.send('coreOptionsUserMetricsAction',
|
| + ['Options_Display']);
|
| + }
|
| + }
|
| +
|
| // Background mode section.
|
| if ($('backgroundModeCheckbox')) {
|
| cr.defineProperty($('backgroundModeCheckbox'),
|
| @@ -1262,6 +1271,14 @@ cr.define('options', function() {
|
| },
|
|
|
| /**
|
| + * Show/hide the display options button on the System settings page.
|
| + * @private
|
| + */
|
| + showDisplayOptions_: function(shoe) {
|
| + $('display-options-section').hidden = !show;
|
| + },
|
| +
|
| + /**
|
| * Activate the bluetooth settings section on the System settings page.
|
| * @private
|
| */
|
| @@ -1383,6 +1400,7 @@ cr.define('options', function() {
|
| 'setupProxySettingsSection',
|
| 'setVirtualKeyboardCheckboxState',
|
| 'showBluetoothSettings',
|
| + 'showDisplayOptions',
|
| 'showMouseControls',
|
| 'showTouchpadControls',
|
| 'updateAccountPicture',
|
|
|