Commit 64622057 authored by paulmeyer's avatar paulmeyer Committed by Commit bot

Updated the documention for webview.back() and webview.forward() to reflect...

Updated the documention for webview.back() and webview.forward() to reflect that they now have callbacks.

BUG=481594

Review URL: https://codereview.chromium.org/1111463002

Cr-Commit-Position: refs/heads/master@{#327121}
parent 90a7f8d3
...@@ -338,7 +338,22 @@ ...@@ -338,7 +338,22 @@
{ {
"name": "back", "name": "back",
"type": "function", "type": "function",
"description": "Navigates backward one history entry if possible. Equivalent to <code>go(-1)</code>." "description": "Navigates backward one history entry if possible. Equivalent to <code>go(-1)</code>.",
"parameters": [
{
"type": "function",
"name": "callback",
"description": "Called after the navigation has either failed or completed successfully.",
"optional": true,
"parameters": [
{
"name": "success",
"type": "boolean",
"description": "Indicates whether the navigation was successful."
}
]
}
]
}, },
{ {
"name": "canGoBack", "name": "canGoBack",
...@@ -439,7 +454,21 @@ ...@@ -439,7 +454,21 @@
"name": "forward", "name": "forward",
"type": "function", "type": "function",
"description": "Navigates forward one history entry if possible. Equivalent to <code>go(1)</code>.", "description": "Navigates forward one history entry if possible. Equivalent to <code>go(1)</code>.",
"parameters": [] "parameters": [
{
"type": "function",
"name": "callback",
"description": "Called after the navigation has either failed or completed successfully.",
"optional": true,
"parameters": [
{
"name": "success",
"type": "boolean",
"description": "Indicates whether the navigation was successful."
}
]
}
]
}, },
{ {
"name": "getProcessId", "name": "getProcessId",
...@@ -506,6 +535,7 @@ ...@@ -506,6 +535,7 @@
{ {
"type": "function", "type": "function",
"name": "callback", "name": "callback",
"description": "Called after the navigation has either failed or completed successfully.",
"optional": true, "optional": true,
"parameters": [ "parameters": [
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment