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

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

Issue 1822303002: [Extensions] Convert APIs to use movable types [4] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Istiaque's Created 4 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": "debugger", 7 "namespace": "debugger",
8 "description": "The <code>chrome.debugger</code> API serves as an alternate transport for Chrome's <a href='https://developer.chrome.com/devtools/docs/debug ger-protocol'>remote debugging protocol</a>. Use <code>chrome.debugger</code> to attach to one or more tabs to instrument network interaction, debug JavaScript, mutate the DOM and CSS, etc. Use the Debuggee <code>tabId</code> to target tabs with sendCommand and route events by <code>tabId</code> from onEvent callbacks. ", 8 "description": "The <code>chrome.debugger</code> API serves as an alternate transport for Chrome's <a href='https://developer.chrome.com/devtools/docs/debug ger-protocol'>remote debugging protocol</a>. Use <code>chrome.debugger</code> to attach to one or more tabs to instrument network interaction, debug JavaScript, mutate the DOM and CSS, etc. Use the Debuggee <code>tabId</code> to target tabs with sendCommand and route events by <code>tabId</code> from onEvent callbacks. ",
9 "compiler_options": {"use_movable_types": true},
9 "types": [ 10 "types": [
10 { 11 {
11 "id": "Debuggee", 12 "id": "Debuggee",
12 "type": "object", 13 "type": "object",
13 "description": "Debuggee identifier. Either tabId or extensionId must be specified", 14 "description": "Debuggee identifier. Either tabId or extensionId must be specified",
14 "properties": { 15 "properties": {
15 "tabId": { "type": "integer", "optional": true, "description": "The id of the tab which you intend to debug." }, 16 "tabId": { "type": "integer", "optional": true, "description": "The id of the tab which you intend to debug." },
16 "extensionId": { "type": "string", "optional": true, "description": "T he id of the extension which you intend to debug. Attaching to an extension back ground page is only possible when 'silent-debugger-extension-api' flag is enable d on the target browser." }, 17 "extensionId": { "type": "string", "optional": true, "description": "T he id of the extension which you intend to debug. Attaching to an extension back ground page is only possible when 'silent-debugger-extension-api' flag is enable d on the target browser." },
17 "targetId": { "type": "string", "optional": true, "description": "The opaque id of the debug target." } 18 "targetId": { "type": "string", "optional": true, "description": "The opaque id of the debug target." }
18 } 19 }
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 { 190 {
190 "$ref": "DetachReason", 191 "$ref": "DetachReason",
191 "name": "reason", 192 "name": "reason",
192 "description": "Connection termination reason." 193 "description": "Connection termination reason."
193 } 194 }
194 ] 195 ]
195 } 196 }
196 ] 197 ]
197 } 198 }
198 ] 199 ]
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/data_reduction_proxy.json ('k') | chrome/common/extensions/api/declarative_content.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698