Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(417)

Side by Side Diff: chrome/common/extensions/api/tabs.json

Issue 9162002: Query the current window with chrome.tabs.query using -1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 [ 1 [
2 { 2 {
3 "namespace": "tabs", 3 "namespace": "tabs",
4 "types": [ 4 "types": [
5 { 5 {
6 "id": "Tab", 6 "id": "Tab",
7 "type": "object", 7 "type": "object",
8 "properties": { 8 "properties": {
9 "id": {"type": "integer", "minimum": 0, "description": "The ID of the tab. Tab IDs are unique within a browser session."}, 9 "id": {"type": "integer", "minimum": 0, "description": "The ID of the tab. Tab IDs are unique within a browser session."},
10 "index": {"type": "integer", "minimum": 0, "description": "The zero-ba sed index of the tab within its window."}, 10 "index": {"type": "integer", "minimum": 0, "description": "The zero-ba sed index of the tab within its window."},
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 "description": "Match page titles against a pattern." 249 "description": "Match page titles against a pattern."
250 }, 250 },
251 "url": { 251 "url": {
252 "type": "string", 252 "type": "string",
253 "optional": true, 253 "optional": true,
254 "description": "Match tabs against a URL pattern." 254 "description": "Match tabs against a URL pattern."
255 }, 255 },
256 "windowId": { 256 "windowId": {
257 "type": "integer", 257 "type": "integer",
258 "optional": true, 258 "optional": true,
259 "minimum": 0, 259 "minimum": -2,
260 "description": "The ID of the parent window." 260 "description": "The ID of the parent window, or <a href='windows .html#property-WINDOW_ID_CURRENT'>chrome.windows.WINDOW_ID_CURRENT</a> for the < a href='windows.html#current-window'>current window</a>."
261 }, 261 },
262 "windowType": { 262 "windowType": {
263 "type": "string", 263 "type": "string",
264 "optional": true, 264 "optional": true,
265 "enum": ["normal", "popup", "panel", "app"], 265 "enum": ["normal", "popup", "panel", "app"],
266 "description": "The type of window the tabs are in." 266 "description": "The type of window the tabs are in."
267 } 267 }
268 } 268 }
269 }, 269 },
270 { 270 {
(...skipping 486 matching lines...) Expand 10 before | Expand all | Expand 10 after
757 "name": "removeInfo", 757 "name": "removeInfo",
758 "properties": { 758 "properties": {
759 "isWindowClosing": {"type": "boolean", "description": "True when t he tab is being closed because its window is being closed." } 759 "isWindowClosing": {"type": "boolean", "description": "True when t he tab is being closed because its window is being closed." }
760 } 760 }
761 } 761 }
762 ] 762 ]
763 } 763 }
764 ] 764 ]
765 } 765 }
766 ] 766 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698