Index: chrome/common/extensions/api/web_view_internal.json |
diff --git a/chrome/common/extensions/api/web_view_internal.json b/chrome/common/extensions/api/web_view_internal.json |
index 94bf1802ddb0cc1dd6aa49b0402015ee2fb64d47..384eb73c4a7f7fae76c4f58e4298850276d105b4 100644 |
--- a/chrome/common/extensions/api/web_view_internal.json |
+++ b/chrome/common/extensions/api/web_view_internal.json |
@@ -12,6 +12,34 @@ |
"dependencies": ["contextMenusInternal"], |
"types": [ |
{ |
+ "id": "Size", |
+ "type": "object", |
+ "properties": { |
+ "width": { |
+ "type": "integer" |
+ }, |
+ "height": { |
+ "type": "integer" |
+ } |
+ } |
+ }, |
+ { |
+ "id": "AutoSizeParams", |
+ "type": "object", |
+ "description": "Autosize parameters.", |
+ "properties": { |
+ "enableAutoSize": { |
+ "type": "boolean" |
+ }, |
+ "min": { |
+ "$ref": "Size" |
+ }, |
+ "max": { |
+ "$ref": "Size" |
+ } |
+ } |
+ }, |
+ { |
"id": "DataTypeSet", |
"type": "object", |
"description": "A set of data types. Missing data types are interpreted as <code>false</code>.", |
@@ -669,6 +697,21 @@ |
] |
}, |
{ |
+ "name": "setAutoSize", |
+ "type": "function", |
+ "parameters": [ |
+ { |
+ "type": "integer", |
+ "name": "instanceId", |
+ "description": "The instance ID of the guest <webview> process. This not exposed to developers through the API." |
+ }, |
+ { |
+ "$ref": "AutoSizeParams", |
+ "name": "params" |
+ } |
+ ] |
+ }, |
+ { |
"name": "showContextMenu", |
"type": "function", |
"parameters": [ |