| Index: chrome/common/extensions/api/script_badge.json
|
| diff --git a/chrome/common/extensions/api/script_badge.json b/chrome/common/extensions/api/script_badge.json
|
| index 4cba6966207b5951a1db2d01c1b0188e253b24c9..e2e3ef6dc39e19cd4d21ad6bb60a4c4415a051fd 100644
|
| --- a/chrome/common/extensions/api/script_badge.json
|
| +++ b/chrome/common/extensions/api/script_badge.json
|
| @@ -51,6 +51,25 @@
|
| ]
|
| }
|
| ]
|
| + },
|
| + {
|
| + "name": "getAttention",
|
| + "type": "function",
|
| +
|
| + "description": "Brings the script badge to the attention of the user, imploring her to click. You should call this when you detect that you can do something to a particular tab. Do not call this for every tab. That's tacky. If the user clicks on the badge, the activeTab APIs become available. If the extension has already run on this tab, this call does nothing.",
|
| +
|
| + "parameters": [
|
| + {
|
| + "name": "details",
|
| + "type": "object",
|
| + "properties": {
|
| + "tabId": {
|
| + "type": "integer",
|
| + "description": "Specify the tab to request to act on."
|
| + }
|
| + }
|
| + }
|
| + ]
|
| }
|
| ],
|
| "events": [
|
|
|