Chromium Code Reviews| Index: chrome/common/extensions/api/tabs.json |
| diff --git a/chrome/common/extensions/api/tabs.json b/chrome/common/extensions/api/tabs.json |
| index 3ad9c8b09ead2a7ce28e6942c282084d2c4dc20a..a724ff370c6064d1dd4c97cca67f5c324d48f937 100644 |
| --- a/chrome/common/extensions/api/tabs.json |
| +++ b/chrome/common/extensions/api/tabs.json |
| @@ -51,6 +51,7 @@ |
| "active": {"type": "boolean", "description": "Whether the tab is active in its window. (Does not necessarily mean the window is focused.)"}, |
| "pinned": {"type": "boolean", "description": "Whether the tab is pinned."}, |
| "audible": {"type": "boolean", "optional": true, "description": "Whether the tab has produced sound over the past couple of seconds (but it might not be heard if also muted). Equivalent to whether the speaker audio indicator is showing."}, |
| + "discarded": {"type": "boolean", "description": "Whether the tab is discarded, meaning that its content has been unloaded from memory but the tab still exists in the tab-strip. The content will be reloaded if the tab gets activated."}, |
|
Georges Khalil
2016/06/21 15:31:20
nit: I would rephrase this like this:
Whether the
Anderson Silva
2016/06/27 18:21:53
Done.
|
| "mutedInfo": {"$ref": "MutedInfo", "optional": true, "description": "Current tab muted state and the reason for the last state change."}, |
| "url": {"type": "string", "optional": true, "description": "The URL the tab is displaying. This property is only present if the extension's manifest includes the <code>\"tabs\"</code> permission."}, |
| "title": {"type": "string", "optional": true, "description": "The title of the tab. This property is only present if the extension's manifest includes the <code>\"tabs\"</code> permission."}, |
| @@ -447,6 +448,11 @@ |
| "optional": true, |
| "description": "Whether the tabs are highlighted." |
| }, |
| + "discarded": { |
| + "type": "boolean", |
| + "optional": true, |
| + "description": "Whether the tabs are discarded, meaning that its content has been unloaded from memory but the tabs still exists in the tab-strip. The content will be reloaded if the tab gets activated." |
| + }, |
|
Georges Khalil
2016/06/21 15:31:20
nit: same as above.
Anderson Silva
2016/06/27 18:21:53
Done.
|
| "currentWindow": { |
| "type": "boolean", |
| "optional": true, |