Index: extensions/common/api/guest_view_internal.json |
diff --git a/extensions/common/api/guest_view_internal.json b/extensions/common/api/guest_view_internal.json |
index 46564e54785d46d91d58256d71532574c343fcfe..ddf8ce9457ceeea32e2597c5c34dc5d662e8ca58 100644 |
--- a/extensions/common/api/guest_view_internal.json |
+++ b/extensions/common/api/guest_view_internal.json |
@@ -23,18 +23,25 @@ |
} |
}, |
{ |
- "id": "AutoSizeParams", |
+ "id": "SizeParams", |
"type": "object", |
- "description": "Autosize parameters.", |
+ "description": "Size parameters.", |
"properties": { |
"enableAutoSize": { |
- "type": "boolean" |
+ "type": "boolean", |
+ "optional": true |
}, |
"min": { |
- "$ref": "Size" |
+ "$ref": "Size", |
+ "optional": true |
}, |
"max": { |
- "$ref": "Size" |
+ "$ref": "Size", |
+ "optional": true |
+ }, |
+ "normal": { |
+ "$ref": "Size", |
+ "optional": true |
} |
} |
} |
@@ -83,7 +90,7 @@ |
] |
}, |
{ |
- "name": "setAutoSize", |
+ "name": "setSize", |
"type": "function", |
"parameters": [ |
{ |
@@ -92,7 +99,7 @@ |
"description": "The instance ID of the guest <webview> process. This not exposed to developers through the API." |
}, |
{ |
- "$ref": "AutoSizeParams", |
+ "$ref": "SizeParams", |
"name": "params" |
}, |
{ |