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

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: Addressing comments - Patch currently being broken up Created 7 years, 6 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 "types": [ 9 "types": [
9 { 10 {
10 "id": "Tab", 11 "id": "Tab",
11 "type": "object", 12 "type": "object",
12 "properties": { 13 "properties": {
13 "id": {"type": "integer", "minimum": 0, "description": "The ID of the tab. Tab IDs are unique within a browser session."}, 14 "id": {"type": "integer", "minimum": 0, "description": "The ID of the tab. Tab IDs are unique within a browser session."},
14 "index": {"type": "integer", "minimum": 0, "description": "The zero-ba sed index of the tab within its window."}, 15 "index": {"type": "integer", "minimum": 0, "description": "The zero-ba sed index of the tab within its window."},
15 "windowId": {"type": "integer", "minimum": 0, "description": "The ID o f the window the tab is contained within."}, 16 "windowId": {"type": "integer", "minimum": 0, "description": "The ID o f the window the tab is contained within."},
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."}, 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."},
17 "selected": {"type": "boolean", "description": "Whether the tab is sel ected.", "nodoc": true}, 18 "selected": {"type": "boolean", "description": "Whether the tab is sel ected.", "nodoc": true},
(...skipping 910 matching lines...) Expand 10 before | Expand all | Expand 10 after
928 "type": "function", 929 "type": "function",
929 "description": "Fired when a tab is replaced with another tab due to pre rendering or instant.", 930 "description": "Fired when a tab is replaced with another tab due to pre rendering or instant.",
930 "parameters": [ 931 "parameters": [
931 {"type": "integer", "name": "addedTabId", "minimum": 0}, 932 {"type": "integer", "name": "addedTabId", "minimum": 0},
932 {"type": "integer", "name": "removedTabId", "minimum": 0} 933 {"type": "integer", "name": "removedTabId", "minimum": 0}
933 ] 934 ]
934 } 935 }
935 ] 936 ]
936 } 937 }
937 ] 938 ]
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/tab_capture.idl ('k') | chrome/common/extensions/api/top_sites.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698