| Index: chrome/common/extensions/api/extension_api.json
|
| ===================================================================
|
| --- chrome/common/extensions/api/extension_api.json (revision 28937)
|
| +++ chrome/common/extensions/api/extension_api.json (working copy)
|
| @@ -337,6 +337,7 @@
|
| "index": {"type": "integer", "minimum": 0, "description": "The zero-based index of the tab within its window."},
|
| "windowId": {"type": "integer", "minimum": 0, "description": "The ID of the window the tab is contained within."},
|
| "selected": {"type": "boolean", "description": "Whether the tab is selected."},
|
| + "pinned": {"type": "boolean", "description": "Whether the tab is pinned."},
|
| "url": {"type": "string", "description": "The URL the tab is displaying."},
|
| "title": {"type": "string", "optional": true, "description": "The title of the tab. This may not be available if the tab is loading."},
|
| "favIconUrl": {"type": "string", "optional": true, "description": "The URL of the tab's favicon. This may not be available if the tab is loading."},
|
| @@ -460,6 +461,11 @@
|
| "type": "boolean",
|
| "optional": true,
|
| "description": "Whether the tab should become the selected tab in the window. Defaults to <var>true</var>"
|
| + },
|
| + "pinned": {
|
| + "type": "boolean",
|
| + "optional": true,
|
| + "description": "Whether the tab should become pinned."
|
| }
|
| }
|
| },
|
| @@ -488,7 +494,8 @@
|
| "name": "updateProperties",
|
| "properties": {
|
| "url": {"type": "string", "optional": true},
|
| - "selected": {"type": "boolean", "optional": true}
|
| + "selected": {"type": "boolean", "optional": true},
|
| + "pinned": {"type": "boolean", "optional": true}
|
| }
|
| },
|
| {
|
|
|