Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4149)

Unified Diff: chrome/common/extensions/api/webview_tag.json

Issue 1111463002: Updated the documention for webview.back() and webview.forward() to reflect that they now have call… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comment. Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/webview_tag.json
diff --git a/chrome/common/extensions/api/webview_tag.json b/chrome/common/extensions/api/webview_tag.json
index 30603b0fe9480bd6bc8b28bf68ad9b5b74ab1838..e73b170c307b370ee76a488e9895edb881b300f0 100644
--- a/chrome/common/extensions/api/webview_tag.json
+++ b/chrome/common/extensions/api/webview_tag.json
@@ -338,7 +338,22 @@
{
"name": "back",
"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",
@@ -439,7 +454,21 @@
"name": "forward",
"type": "function",
"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",
@@ -506,6 +535,7 @@
{
"type": "function",
"name": "callback",
+ "description": "Called after the navigation has either failed or completed successfully.",
"optional": true,
"parameters": [
{
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698