Index: extensions/common/api/web_view_internal.json |
diff --git a/extensions/common/api/web_view_internal.json b/extensions/common/api/web_view_internal.json |
index a33f500d22142a7e2e673e35b5131783ac1d7a02..94a6eb9820bf547338b745d39d338f75de8c6be6 100644 |
--- a/extensions/common/api/web_view_internal.json |
+++ b/extensions/common/api/web_view_internal.json |
@@ -670,6 +670,33 @@ |
] |
}, |
{ |
+ "name": "captureVisibleRegion", |
+ "type": "function", |
+ "description": "foo", |
+ "parameters": [ |
+ { |
+ "type": "integer", |
+ "name": "instanceId", |
+ "description": "The instance ID of the guest <webview> process." |
+ }, |
+ { |
+ "$ref": "extensionTypes.ImageDetails", |
+ "name": "options", |
+ "optional": true |
+ }, |
+ { |
+ "type": "function", |
+ "name": "callback", |
+ "parameters": [ |
+ {"type": "string", |
+ "name": "dataUrl", |
+ "description": "A data URL which encodes an image of the visible area of the captured tab. May be assigned to the 'src' property of an HTML Image element for display." |
+ } |
+ ] |
+ } |
+ ] |
+ }, |
+ { |
"name": "clearData", |
"type": "function", |
"description": "Clears various types of browsing data stored in a storage partition of a <webview>.", |