| Index: chrome/browser/resources/options/browser_options.js
|
| diff --git a/chrome/browser/resources/options/browser_options.js b/chrome/browser/resources/options/browser_options.js
|
| index 2b63e80fc2d4970bc5dc83e69e9613109dd99ae9..8538abc2197e6382fe2914c52f8e9e6c0428eaa6 100644
|
| --- a/chrome/browser/resources/options/browser_options.js
|
| +++ b/chrome/browser/resources/options/browser_options.js
|
| @@ -1737,17 +1737,17 @@ cr.define('options', function() {
|
|
|
| /**
|
| * Enables or disables the Chrome OS display settings button and overlay.
|
| - * @param {boolean} enabled
|
| - * @param {boolean} showUnifiedDesktop
|
| - * @param {boolean} multiDisplayLayout
|
| + * @param {boolean} uiEnabled
|
| + * @param {boolean} unifiedEnabled
|
| + * @param {boolean} mirroredEnabled
|
| * @private
|
| */
|
| enableDisplaySettings_: function(
|
| - enabled, showUnifiedDesktop, multiDisplayLayout) {
|
| + uiEnabled, unifiedEnabled, mirroredEnabled) {
|
| if (cr.isChromeOS) {
|
| - $('display-options').disabled = !enabled;
|
| + $('display-options').disabled = !uiEnabled;
|
| DisplayOptions.getInstance().setEnabled(
|
| - enabled, showUnifiedDesktop, multiDisplayLayout);
|
| + uiEnabled, unifiedEnabled, mirroredEnabled);
|
| }
|
| },
|
|
|
|
|