| 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 e98fdd34cca4ec8828382ba52aab9dee47d261d1..06277efc6745f4e9e6bbae5811d62a2b6cb5c012 100755
|
| --- a/chrome/common/extensions/api/extension_api.json
|
| +++ b/chrome/common/extensions/api/extension_api.json
|
| @@ -398,6 +398,18 @@
|
| ]
|
| }
|
| ]
|
| + },
|
| + {
|
| + "name": "captureVisibleTab",
|
| + "type": "function",
|
| + "description": "Captures the visible area of the visible tab in the given window.",
|
| + "parameters": [
|
| + {"type": "integer", "name": "windowId", "minimum": 0, "optional": true, "description": "The target window. If <var>null</var> or <var>undefined</var>, the 'current' window will be assumed."},
|
| + {"type": "function", "name": "callback", "parameters": [
|
| + {"type": "string", "name": "dataUrl", "description": "a data url encoding of the captured tab."}
|
| + ]
|
| + }
|
| + ]
|
| }
|
| ],
|
| "events": [
|
|
|