| Index: chrome/common/extensions/api/extension_api.json
|
| diff --git a/chrome/common/extensions/api/extension_api.json b/chrome/common/extensions/api/extension_api.json
|
| index 9f6deff54b909009bd8186bcad9a5c34039179fc..d0e921f715634b71a1f4d4c26e6158d18cd216ae 100644
|
| --- a/chrome/common/extensions/api/extension_api.json
|
| +++ b/chrome/common/extensions/api/extension_api.json
|
| @@ -1187,6 +1187,62 @@
|
| ]
|
| },
|
| {
|
| + "name": "setZoomPercent",
|
| + "type": "function",
|
| + "description": "Set the zoom percentage.",
|
| + "parameters": [
|
| + {
|
| + "name": "tabId",
|
| + "type": "integer",
|
| + "minimum": 0,
|
| + "description": "The id of the tab to zoom."
|
| + },
|
| + {
|
| + "name": "zoomLevel",
|
| + "type": "number",
|
| + "description": "The zoom percentage."
|
| + },
|
| + {
|
| + "name": "callback",
|
| + "type": "function",
|
| + "optional": true,
|
| + "description": "Returns the resulting zoom percent, which may be different than requested.",
|
| + "parameters": [
|
| + {
|
| + "name": "zoomPercent",
|
| + "type": "number",
|
| + "description": "The current zoom percentage"
|
| + }
|
| + ]
|
| + }
|
| + ]
|
| + },
|
| + {
|
| + "name": "getZoomPercent",
|
| + "type": "function",
|
| + "description": "Get the zoom percentage.",
|
| + "parameters": [
|
| + {
|
| + "name": "tabId",
|
| + "type": "integer",
|
| + "minimum": 0,
|
| + "description": "The id of the tab."
|
| + },
|
| + {
|
| + "name": "callback",
|
| + "type": "function",
|
| + "description": "Returns the zoom percent.",
|
| + "parameters": [
|
| + {
|
| + "name": "zoomPercent",
|
| + "type": "number",
|
| + "description": "The current zoom percentage"
|
| + }
|
| + ]
|
| + }
|
| + ]
|
| + },
|
| + {
|
| "name": "remove",
|
| "type": "function",
|
| "description": "Closes a tab.",
|
|
|