Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2439)

Unified Diff: extensions/common/api/web_view_internal.json

Issue 690263003: <webview>: Remove broken captureVisibleRegion code until feature is properly supported (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 02dc854579341df6fd0100bfb1908b5a33f12216..949665b1b315b9424149a9dea7c78c1c878275b8 100644
--- a/extensions/common/api/web_view_internal.json
+++ b/extensions/common/api/web_view_internal.json
@@ -128,28 +128,6 @@
]
},
{
- "name": "captureVisibleRegion",
- "type": "function",
- "description": "Captures the visible area of the currently loaded page inside <webview>.",
- "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": "setZoom",
"type": "function",
"parameters": [

Powered by Google App Engine
This is Rietveld 408576698