| Index: chrome/common/extensions/api/guest_view_internal.json
|
| diff --git a/chrome/common/extensions/api/guest_view_internal.json b/chrome/common/extensions/api/guest_view_internal.json
|
| index 7ae21d7ac7745862ca77c10b151d423ea3115087..fa96482f48a6ffca44987ef071656fb7a7b69c03 100644
|
| --- a/chrome/common/extensions/api/guest_view_internal.json
|
| +++ b/chrome/common/extensions/api/guest_view_internal.json
|
| @@ -9,6 +9,36 @@
|
| "implemented_in": "chrome/browser/extensions/api/guest_view/guest_view_internal_api.h"
|
| },
|
| "description": "none",
|
| + "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"
|
| + }
|
| + }
|
| + }
|
| + ],
|
| "functions": [
|
| {
|
| "name": "createGuest",
|
| @@ -35,6 +65,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"
|
| + }
|
| + ]
|
| }
|
| ]
|
| }
|
|
|