summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/api/tabs.json
diff options
context:
space:
mode:
authormtytel@chromium.org <mtytel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-01 06:04:06 +0000
committermtytel@chromium.org <mtytel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-01 06:04:06 +0000
commitb86a938dec58ac038a8d07cfe4f46878d874e359 (patch)
tree1125404fa2496c1ced7e5141380177be1729f3f6 /chrome/common/extensions/api/tabs.json
parent5a20b19f392a06e2637597d494b8a8f4f78994de (diff)
downloadchromium_src-b86a938dec58ac038a8d07cfe4f46878d874e359.zip
chromium_src-b86a938dec58ac038a8d07cfe4f46878d874e359.tar.gz
chromium_src-b86a938dec58ac038a8d07cfe4f46878d874e359.tar.bz2
Added currentWindow and lastFocusedWindow booleans to chrome.tabs.query
BUG=110644 TEST=Added two unit tests: ExtensionTabsTest.Query* and manually tested from the infobar use case. Review URL: http://codereview.chromium.org/9464045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124371 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/api/tabs.json')
-rw-r--r--chrome/common/extensions/api/tabs.json10
1 files changed, 10 insertions, 0 deletions
diff --git a/chrome/common/extensions/api/tabs.json b/chrome/common/extensions/api/tabs.json
index 735f00e..35bffac 100644
--- a/chrome/common/extensions/api/tabs.json
+++ b/chrome/common/extensions/api/tabs.json
@@ -247,6 +247,16 @@
"optional": true,
"description": "Whether the tabs are highlighted."
},
+ "currentWindow": {
+ "type": "boolean",
+ "optional": true,
+ "description": "Whether the tabs are in the <a href='windows.html#current-window'>current window</a>."
+ },
+ "lastFocusedWindow": {
+ "type": "boolean",
+ "optional": true,
+ "description": "Whether the tabs are in the last focused window."
+ },
"status": {
"type": "string",
"optional": true,