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

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

Issue 7981040: Make chrome.tabs.update's tabId parameter optional. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 3 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
Index: chrome/common/extensions/api/extension_api.json
diff --git a/chrome/common/extensions/api/extension_api.json b/chrome/common/extensions/api/extension_api.json
index a45b81cdacc4f9416fed556deec0f049ca0f01fd..c7c5f36bb03c77ff4a8afab7805e8961666f5bc5 100644
--- a/chrome/common/extensions/api/extension_api.json
+++ b/chrome/common/extensions/api/extension_api.json
@@ -1534,7 +1534,13 @@
"type": "function",
"description": "Modifies the properties of a tab. Properties that are not specified in <var>updateProperties</var> are not modified. Note: This function can be used without requesting the 'tabs' permission in the manifest.",
"parameters": [
- {"type": "integer", "name": "tabId", "minimum": 0},
+ {
+ "type": "integer",
Mihai Parparita -not on Chrome 2011/09/21 23:24:05 You seem to have ended up with some tabs on these
miket_OOO 2011/09/22 00:06:44 Fixed. I saw this but misread the filename and tho
+ "name": "tabId",
+ "minimum": 0,
+ "optional": true,
+ "description": "Defaults to the selected tab of the <a href='windows.html#current-window'>current window</a>."
+ },
{
"type": "object",
"name": "updateProperties",

Powered by Google App Engine
This is Rietveld 408576698