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

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

Issue 10947037: DevTools: provide the debugger detach reason in chrome.debugger.onDetach extension API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reviewer comments addressed. Created 8 years, 3 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": "debugger", 7 "namespace": "debugger",
8 "types": [ 8 "types": [
9 { 9 {
10 "id": "Debuggee", 10 "id": "Debuggee",
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 }, 126 },
127 { 127 {
128 "name": "onDetach", 128 "name": "onDetach",
129 "type": "function", 129 "type": "function",
130 "description": "Fired when browser terminates debugging session for the tab. This happens when either the tab is being closed or Chrome DevTools is bein g invoked for the attached tab.", 130 "description": "Fired when browser terminates debugging session for the tab. This happens when either the tab is being closed or Chrome DevTools is bein g invoked for the attached tab.",
131 "parameters": [ 131 "parameters": [
132 { 132 {
133 "$ref": "Debuggee", 133 "$ref": "Debuggee",
134 "name": "source", 134 "name": "source",
135 "description": "The debuggee that was detached." 135 "description": "The debuggee that was detached."
136 },
137 {
138 "type": "string",
139 "name": "reason",
140 "description": "Connection termination reason.",
141 "enum": [ "target_closed", "canceled_by_user", "replaced_with_devtoo ls" ]
136 } 142 }
137 ] 143 ]
138 } 144 }
139 ] 145 ]
140 } 146 }
141 ] 147 ]
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/debugger/debugger_api.cc ('k') | chrome/test/data/extensions/api_test/debugger/background.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698