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 e629088a7758ccf104c4f7dc48cab67ad430cec5..1604d3b807e227bc442ca0073dc0964d9abab304 100755 |
--- a/chrome/common/extensions/api/extension_api.json |
+++ b/chrome/common/extensions/api/extension_api.json |
@@ -869,6 +869,11 @@ |
"description": "Pixel data for an image. Must be an ImageData object (for example, from a canvas element).", |
"optional": true |
}, |
+ "path": { |
+ "type": "string", |
+ "description": "Relative path to an image in the extension to show in the browser action.", |
+ "optional": true |
+ }, |
"iconIndex": { |
"type": "integer", |
"minimum": 0, |
@@ -975,6 +980,11 @@ |
"title": { |
"type": "string", |
"description": "The string the browser action should display when moused over." |
+ }, |
+ "tabId": { |
+ "type": "integer", |
+ "optional": true, |
+ "description": "Limits the change to when a particular tab is selected. Automatically resets when the tab is closed." |
} |
} |
} |
@@ -994,16 +1004,15 @@ |
"description": "Pixel data for an image. Must be an ImageData object (for example, from a <code>canvas</code> element).", |
"optional": true |
}, |
- "iconIndex": { |
- "type": "integer", |
- "minimum": 0, |
- "description": "<b>Deprecated.</b> The zero-based index into the <b>icons</b> vector specified in the manifest.", |
- "optional": true |
- }, |
"path": { |
"type": "string", |
"description": "Relative path to an image in the extension to show in the browser action.", |
"optional": true |
+ }, |
+ "tabId": { |
+ "type": "integer", |
+ "optional": true, |
+ "description": "Limits the change to when a particular tab is selected. Automatically resets when the tab is closed." |
} |
} |
} |
@@ -1021,6 +1030,11 @@ |
"text": { |
"type": "string", |
"description": "Any number of characters can be passed, but only about four can fit in the space." |
+ }, |
+ "tabId": { |
+ "type": "integer", |
+ "optional": true, |
+ "description": "Limits the change to when a particular tab is selected. Automatically resets when the tab is closed." |
} |
} |
} |
@@ -1045,6 +1059,11 @@ |
}, |
"minItems": 4, |
"maxItems": 4 |
+ }, |
+ "tabId": { |
+ "type": "integer", |
+ "optional": true, |
+ "description": "Limits the change to when a particular tab is selected. Automatically resets when the tab is closed." |
} |
} |
} |