| 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 0f5885480e5dde23a33276e63929b5e17f104091..43c1a3b2c063a67ca908e1d6ab0e5cb86e98fc91 100644
|
| --- a/extensions/common/api/web_view_internal.json
|
| +++ b/extensions/common/api/web_view_internal.json
|
| @@ -184,7 +184,7 @@
|
| {
|
| "type": "function",
|
| "name": "callback",
|
| - "description": "Called after the current zoom factor is retreived.",
|
| + "description": "Called after the current zoom factor is retrieved.",
|
| "parameters": [
|
| {
|
| "type": "number",
|
| @@ -294,6 +294,40 @@
|
| ]
|
| },
|
| {
|
| + "name": "loadDataWithBaseUrl",
|
| + "type": "function",
|
| + "description": "Loads a data URL with a specified base URL used for relative links. Optionally, a virtual URL can be provided to be shown to the user instead of the data URL.",
|
| + "parameters": [
|
| + {
|
| + "type": "integer",
|
| + "name": "instanceId",
|
| + "description": "The instance ID of the guest <webview> process."
|
| + },
|
| + {
|
| + "type": "string",
|
| + "name": "dataUrl",
|
| + "description" : "The data URL to load."
|
| + },
|
| + {
|
| + "type": "string",
|
| + "name": "baseUrl",
|
| + "description": "The base URL that will be used for relative links."
|
| + },
|
| + {
|
| + "type": "string",
|
| + "name": "virtualUrl",
|
| + "description": "The URL that will be displayed to the user.",
|
| + "optional": true
|
| + },
|
| + {
|
| + "type": "function",
|
| + "name": "callback",
|
| + "description": "Called internally for the purpose of reporting errors to console.error().",
|
| + "parameters": []
|
| + }
|
| + ]
|
| + },
|
| + {
|
| "name": "go",
|
| "type": "function",
|
| "parameters": [
|
|
|