summaryrefslogtreecommitdiff
path: root/chromium/chrome/common/extensions/api/tabs.json
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/chrome/common/extensions/api/tabs.json')
-rw-r--r--chromium/chrome/common/extensions/api/tabs.json40
1 files changed, 40 insertions, 0 deletions
diff --git a/chromium/chrome/common/extensions/api/tabs.json b/chromium/chrome/common/extensions/api/tabs.json
index 158b4b7e8e1..6314f19906c 100644
--- a/chromium/chrome/common/extensions/api/tabs.json
+++ b/chromium/chrome/common/extensions/api/tabs.json
@@ -946,6 +946,46 @@
]
}
]
+ },
+ {
+ "name": "goForward",
+ "type": "function",
+ "description": "Go foward to the next page, if one is available.",
+ "parameters": [
+ {
+ "type": "integer",
+ "name": "tabId",
+ "optional": true,
+ "minimum": 0,
+ "description": "The ID of the tab to navigate forward; defaults to the selected tab of the current window."
+ },
+ {
+ "type": "function",
+ "name": "callback",
+ "optional": true,
+ "parameters": []
+ }
+ ]
+ },
+ {
+ "name": "goBack",
+ "type": "function",
+ "description": "Go back to the previous page, if one is available.",
+ "parameters": [
+ {
+ "type": "integer",
+ "name": "tabId",
+ "optional": true,
+ "minimum": 0,
+ "description": "The ID of the tab to navigate back; defaults to the selected tab of the current window."
+ },
+ {
+ "type": "function",
+ "name": "callback",
+ "optional": true,
+ "parameters": []
+ }
+ ]
}
],
"events": [