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

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

Issue 12522004: Lazily load extension API schemas (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 9 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 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 [ 5 [
6 { 6 {
7 "namespace": "tabs", 7 "namespace": "tabs",
8 "dependencies": [ "extension", "windows" ],
9 "types": [ 8 "types": [
10 { 9 {
11 "id": "Tab", 10 "id": "Tab",
12 "type": "object", 11 "type": "object",
13 "properties": { 12 "properties": {
14 "id": {"type": "integer", "minimum": 0, "description": "The ID of the tab. Tab IDs are unique within a browser session."}, 13 "id": {"type": "integer", "minimum": 0, "description": "The ID of the tab. Tab IDs are unique within a browser session."},
15 "index": {"type": "integer", "minimum": 0, "description": "The zero-ba sed index of the tab within its window."}, 14 "index": {"type": "integer", "minimum": 0, "description": "The zero-ba sed index of the tab within its window."},
16 "windowId": {"type": "integer", "minimum": 0, "description": "The ID o f the window the tab is contained within."}, 15 "windowId": {"type": "integer", "minimum": 0, "description": "The ID o f the window the tab is contained within."},
17 "openerTabId": {"type": "integer", "minimum": 0, "optional": true, "de scription": "The ID of the tab that opened this tab, if any. This will only be p resent if the opener tab still exists."}, 16 "openerTabId": {"type": "integer", "minimum": 0, "optional": true, "de scription": "The ID of the tab that opened this tab, if any. This will only be p resent if the opener tab still exists."},
18 "selected": {"type": "boolean", "description": "Whether the tab is sel ected.", "nodoc": true}, 17 "selected": {"type": "boolean", "description": "Whether the tab is sel ected.", "nodoc": true},
(...skipping 910 matching lines...) Expand 10 before | Expand all | Expand 10 after
929 "type": "function", 928 "type": "function",
930 "description": "Fired when a tab is replaced with another tab due to pre rendering or instant.", 929 "description": "Fired when a tab is replaced with another tab due to pre rendering or instant.",
931 "parameters": [ 930 "parameters": [
932 {"type": "integer", "name": "addedTabId", "minimum": 0}, 931 {"type": "integer", "name": "addedTabId", "minimum": 0},
933 {"type": "integer", "name": "removedTabId", "minimum": 0} 932 {"type": "integer", "name": "removedTabId", "minimum": 0}
934 ] 933 ]
935 } 934 }
936 ] 935 ]
937 } 936 }
938 ] 937 ]
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/session_restore.json ('k') | chrome/common/extensions/api/tts_engine.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698