Add missing externs for chrome.tabs zoom related methods.
@@ -2653,6 +2653,14 @@ chrome.tabs.create = function(createProperties, opt_callback) {};
chrome.tabs.detectLanguage = function(tabIdOrCallback, opt_callback) {};
+/**
+ * @see https://developer.chrome.com/extensions/tabs#method-discard
+ * @param {number|function(!Tab): void} tabIdOrCallback
+ * @param {function(!Tab): void=} opt_callback
+ */
+chrome.tabs.discard;
+
+
/**
* @see https://developer.chrome.com/extensions/tabs#method-executeScript
* @param {number|!chrome.tabs.InjectDetails} tabIdOrDetails
@@ -2714,6 +2722,34 @@ chrome.tabs.getCurrent = function(callback) {};
chrome.tabs.getSelected = function(windowId, callback) {};
+/**
+ * @see https://developer.chrome.com/extensions/tabs#method-getZoom
+ * @param {number|function(number): void} tabIdOrCallback
+ * @param {function(number): void=} opt_callback
+ * @return {undefined}
+ */
+chrome.tabs.getZoom = function(tabIdOrCallback, opt_callback) {};
+
+
+/**
+ * @see https://developer.chrome.com/extensions/tabs#type-ZoomSettings
+ * @typedef {?{
+ * mode: (string|undefined),
+ * scope: (string|undefined),
+ * defaultZoomFactor: (number|undefined),
+ * }}
+ */
+chrome.tabs.ZoomSettings;
+
+
+/**
+ * @see https://developer.chrome.com/extensions/tabs#method-getZoomSettings
+ * @param {number|function(!chrome.tabs.ZoomSettings): void} tabIdOrCallback
+ * @param {function(!chrome.tabs.ZoomSettings): void=} opt_callback
+ */
+chrome.tabs.getZoomSettings = function(tabIdOrCallback, opt_callback) {};
+
+
/**
* @typedef {?{
* windowId: (number|undefined),
@@ -2877,6 +2913,28 @@ chrome.tabs.sendMessage = function(tabId, request, opt_optionsOrCallback,
chrome.tabs.sendRequest = function(tabId, request, opt_callback) {};
+/**
+ * @see https://developer.chrome.com/extensions/tabs#method-setZoom
+ * @param {number} tabIdOrZoomFactor
+ * @param {(number|function(): void)=} opt_zoomFactorOrCallback
+ * @param {function(): void=} opt_callback
+ * @return {undefined}
+ */
+chrome.tabs.setZoom = function(
+ tabIdOrZoomFactor, opt_zoomFactorOrCallback, opt_callback) {};
+
+
+/**
+ * @see https://developer.chrome.com/extensions/tabs#method-setZoomSettings
+ * @param {number|!chrome.tabs.ZoomSettings} tabIdOrZoomSettings
+ * @param {(!chrome.tabs.ZoomSettings|function(): void)=}
+ * opt_zoomSettingsOrCallback
+ * @param {function(): void=} opt_callback
+ */
+chrome.tabs.setZoomSettings = function(
+ tabIdOrZoomSettings, opt_zoomSettingsOrCallback, opt_callback) {};
+
+
/**
* @typedef {?{
* url: (string|undefined),
@@ -2969,6 +3027,13 @@ chrome.tabs.onReplaced;
chrome.tabs.onSelectionChanged;
+/**
+ * @see https://developer.chrome.com/extensions/tabs#event-onZoomChange
+ * @type {!ChromeObjectEvent}
+ */
+chrome.tabs.onZoomChange;
+
+
/**
* @see https://developer.chrome.com/extensions/topSites
* @const
