| 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 25960742b87d9ae597255218f5059d5864621212..16579f55b3732f60cb28f09408e57cb7d27924c4 100644
|
| --- a/chrome/browser/resources/options2/browser_options.js
|
| +++ b/chrome/browser/resources/options2/browser_options.js
|
| @@ -493,6 +493,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'),
|
| @@ -1273,6 +1282,14 @@ cr.define('options', function() {
|
| },
|
|
|
| /**
|
| + * Show/hide the display options button on the System settings page.
|
| + * @private
|
| + */
|
| + showDisplayOptions_: function(show) {
|
| + $('display-options-section').hidden = !show;
|
| + },
|
| +
|
| + /**
|
| * Activate the bluetooth settings section on the System settings page.
|
| * @private
|
| */
|
| @@ -1394,6 +1411,7 @@ cr.define('options', function() {
|
| 'setupProxySettingsSection',
|
| 'setVirtualKeyboardCheckboxState',
|
| 'showBluetoothSettings',
|
| + 'showDisplayOptions',
|
| 'showMouseControls',
|
| 'showTouchpadControls',
|
| 'updateAccountPicture',
|
|
|