Index: chrome/browser/resources/settings/site_settings/site_settings_prefs_browser_proxy.js |
diff --git a/chrome/browser/resources/settings/site_settings/site_settings_prefs_browser_proxy.js b/chrome/browser/resources/settings/site_settings/site_settings_prefs_browser_proxy.js |
index 651257799ea56235bdc92ae0301a28b2e7da055e..840c835abd2fc8eac5eb4d75e981b6911a7f6e3d 100644 |
--- a/chrome/browser/resources/settings/site_settings/site_settings_prefs_browser_proxy.js |
+++ b/chrome/browser/resources/settings/site_settings/site_settings_prefs_browser_proxy.js |
@@ -270,12 +270,24 @@ cr.define('settings', function() { |
updateIncognitoStatus: function() {}, |
/** |
+ * Fetches the zoom scope setting. Returns the result via |
+ * onZoomScopeChanged. |
+ */ |
+ fetchZoomScope: function() {}, |
+ |
+ /** |
* Fetches the currently defined zoom levels for sites. Returns the results |
* via onZoomLevelsChanged. |
*/ |
fetchZoomLevels: function() {}, |
/** |
+ * Sets whether the zoom scope is per-origin or per-tab. |
+ * @param {boolean} zoomScopeIsPerOrigin The zoom scope setting. |
+ */ |
+ setZoomScopeIsPerOrigin: function(zoomScopeIsPerOrigin) {}, |
+ |
+ /** |
* Removes a zoom levels for a given host. |
* @param {string} host The host to remove zoom levels for. |
*/ |
@@ -408,11 +420,21 @@ cr.define('settings', function() { |
}, |
/** @override */ |
+ fetchZoomScope: function() { |
+ chrome.send('fetchZoomScope'); |
+ }, |
+ |
+ /** @override */ |
fetchZoomLevels: function() { |
chrome.send('fetchZoomLevels'); |
}, |
/** @override */ |
+ setZoomScopeIsPerOrigin: function(zoomScopeIsPerOrigin) { |
+ chrome.send('setZoomScopeIsPerOrigin', [zoomScopeIsPerOrigin]); |
+ }, |
+ |
+ /** @override */ |
removeZoomLevel: function(host) { |
chrome.send('removeZoomLevel', [host]); |
}, |