Index: chrome/common/extensions/api/browser_action.json |
diff --git a/chrome/common/extensions/api/browser_action.json b/chrome/common/extensions/api/browser_action.json |
index 68ae6377c8807191f8ed1d89cc0a04d0db5e65d8..c25123ad99e12d84020d4f579191267a58b80b83 100644 |
--- a/chrome/common/extensions/api/browser_action.json |
+++ b/chrome/common/extensions/api/browser_action.json |
@@ -259,6 +259,22 @@ |
] |
} |
] |
+ }, |
+ { |
+ "name": "enable", |
+ "type": "function", |
+ "description": "Enables the browser action for a tab. By default, browser actions are enabled.", |
+ "parameters": [ |
+ {"type": "integer", "name": "tabId", "minimum": 0, "description": "The id of the tab for which you want to modify the browser action."} |
not at google - send to devlin
2012/07/17 13:18:02
should this be optional to disable for all tabs?
|
+ ] |
+ }, |
+ { |
+ "name": "disable", |
+ "type": "function", |
+ "description": "Disables the browser action for a tab.", |
+ "parameters": [ |
+ {"type": "integer", "name": "tabId", "minimum": 0, "description": "The id of the tab for which you want to modify the browser action."} |
not at google - send to devlin
2012/07/17 13:18:02
ditto
|
+ ] |
} |
], |
"events": [ |