| 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 82ca7dd1d09519a71256f57918b33358978a2e35..adf195b0f07e782e43c934b00c008d6c1949ce61 100644
|
| --- a/chrome/browser/resources/options/browser_options.js
|
| +++ b/chrome/browser/resources/options/browser_options.js
|
| @@ -682,6 +682,10 @@ cr.define('options', function() {
|
| chrome.send('defaultZoomFactorAction',
|
| [String(event.target.options[event.target.selectedIndex].value)]);
|
| };
|
| + $('defaultZoomScope').onchange = function(event) {
|
| + chrome.send('defaultZoomScopeAction',
|
| + [event.target.checked]);
|
| + };
|
| $('safeBrowsingExtendedReportingCheckbox').onchange = function(event) {
|
| chrome.send('safeBrowsingExtendedReportingAction',
|
| [event.target.checked]);
|
| @@ -2020,6 +2024,15 @@ cr.define('options', function() {
|
| },
|
|
|
| /**
|
| + * Set the checked state of the default zoom scope checkbox.
|
| + * @param {boolean} checked Whether to check the checkbox.
|
| + * @private
|
| + */
|
| + setupZoomScopeCheckbox_: function(checked) {
|
| + $('defaultZoomScope').checked = checked;
|
| + },
|
| +
|
| + /**
|
| * Shows/hides the autoOpenFileTypesResetToDefault button and label, with
|
| * animation.
|
| * @param {boolean} display Whether to show the button and label or not.
|
| @@ -2419,6 +2432,7 @@ cr.define('options', function() {
|
| 'setWallpaperManaged',
|
| 'setupPageZoomSelector',
|
| 'setupProxySettingsButton',
|
| + 'setupZoomScopeCheckbox',
|
| 'showCreateProfileError',
|
| 'showCreateProfileSuccess',
|
| 'showCreateProfileWarning',
|
|
|