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

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

Issue 12996003: Dynamically generate a heading for Extension Docs API pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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
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 "description": "Use the <code>chrome.tabs</code> module to interact with the browser's tab system. You can use this module to create, modify, and rearrange tabs in the browser.",
8 "dependencies": [ "extension", "windows" ], 9 "dependencies": [ "extension", "windows" ],
9 "types": [ 10 "types": [
10 { 11 {
11 "id": "Tab", 12 "id": "Tab",
12 "type": "object", 13 "type": "object",
13 "properties": { 14 "properties": {
14 "id": {"type": "integer", "minimum": 0, "description": "The ID of the tab. Tab IDs are unique within a browser session."}, 15 "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."}, 16 "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."}, 17 "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."}, 18 "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."},
(...skipping 911 matching lines...) Expand 10 before | Expand all | Expand 10 after
929 "type": "function", 930 "type": "function",
930 "description": "Fired when a tab is replaced with another tab due to pre rendering or instant.", 931 "description": "Fired when a tab is replaced with another tab due to pre rendering or instant.",
931 "parameters": [ 932 "parameters": [
932 {"type": "integer", "name": "addedTabId", "minimum": 0}, 933 {"type": "integer", "name": "addedTabId", "minimum": 0},
933 {"type": "integer", "name": "removedTabId", "minimum": 0} 934 {"type": "integer", "name": "removedTabId", "minimum": 0}
934 ] 935 ]
935 } 936 }
936 ] 937 ]
937 } 938 }
938 ] 939 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698