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

Side by Side Diff: src/inspector/debugger_script_externs.js

Issue 2688243004: [inspector] migrated Debugger.setBreakpointsActive to native (Closed)
Patch Set: revert bigger part :) Created 3 years, 10 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
« no previous file with comments | « src/inspector/debugger-script.js ('k') | src/inspector/v8-debugger.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 the V8 project 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 /** @typedef {{ 5 /** @typedef {{
6 type: string, 6 type: string,
7 object: !Object, 7 object: !Object,
8 name: (string|undefined), 8 name: (string|undefined),
9 startLocation: (!RawLocation|undefined), 9 startLocation: (!RawLocation|undefined),
10 endLocation: (!RawLocation|undefined) 10 endLocation: (!RawLocation|undefined)
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 */ 65 */
66 Debug.findBreakPointActualLocations = function(breakId) {} 66 Debug.findBreakPointActualLocations = function(breakId) {}
67 67
68 /** 68 /**
69 * @param {number} breakId 69 * @param {number} breakId
70 * @param {boolean} remove 70 * @param {boolean} remove
71 * @return {!BreakPoint|undefined} 71 * @return {!BreakPoint|undefined}
72 */ 72 */
73 Debug.findBreakPoint = function(breakId, remove) {} 73 Debug.findBreakPoint = function(breakId, remove) {}
74 74
75 /** @return {!DebuggerFlags} */
76 Debug.debuggerFlags = function() {}
77
78
79 /** @enum */ 75 /** @enum */
80 const BreakPositionAlignment = { 76 const BreakPositionAlignment = {
81 Statement: 0, 77 Statement: 0,
82 BreakPosition: 1 78 BreakPosition: 1
83 }; 79 };
84 Debug.BreakPositionAlignment = BreakPositionAlignment; 80 Debug.BreakPositionAlignment = BreakPositionAlignment;
85 81
86
87 /** @interface */
88 function DebuggerFlag() {}
89
90 /** @param {boolean} value */
91 DebuggerFlag.prototype.setValue = function(value) {}
92
93
94 /** @typedef {{
95 * breakPointsActive: !DebuggerFlag
96 * }}
97 */
98 var DebuggerFlags;
99
100 /** @const */ 82 /** @const */
101 var LiveEdit = {} 83 var LiveEdit = {}
102 84
103 /** 85 /**
104 * @param {!Script} script 86 * @param {!Script} script
105 * @param {string} newSource 87 * @param {string} newSource
106 * @param {boolean} previewOnly 88 * @param {boolean} previewOnly
107 * @return {!{stack_modified: (boolean|undefined)}} 89 * @return {!{stack_modified: (boolean|undefined)}}
108 */ 90 */
109 LiveEdit.SetScriptSource = function(script, newSource, previewOnly, change_log) {} 91 LiveEdit.SetScriptSource = function(script, newSource, previewOnly, change_log) {}
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 ScopeMirror.prototype.setVariableValue = function(name, newValue) {} 378 ScopeMirror.prototype.setVariableValue = function(name, newValue) {}
397 379
398 /** 380 /**
399 * @interface 381 * @interface
400 * @extends {Mirror} 382 * @extends {Mirror}
401 */ 383 */
402 function ContextMirror() {} 384 function ContextMirror() {}
403 385
404 /** @return {string|undefined} */ 386 /** @return {string|undefined} */
405 ContextMirror.prototype.data = function() {} 387 ContextMirror.prototype.data = function() {}
OLDNEW
« no previous file with comments | « src/inspector/debugger-script.js ('k') | src/inspector/v8-debugger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698