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

Side by Side Diff: Source/devtools/front_end/sources/JavaScriptBreakpointsSidebarPane.js

Issue 1192673004: [DevTools] Corresponding blue tag is seen faded out even though the breakpoint is enabled (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2015 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 * @constructor 6 * @constructor
7 * @extends {WebInspector.SidebarPane} 7 * @extends {WebInspector.SidebarPane}
8 * @param {!WebInspector.BreakpointManager} breakpointManager 8 * @param {!WebInspector.BreakpointManager} breakpointManager
9 * @param {function(!WebInspector.UISourceCode, number=, number=, boolean=)} sho wSourceLineDelegate 9 * @param {function(!WebInspector.UISourceCode, number=, number=, boolean=)} sho wSourceLineDelegate
10 */ 10 */
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 }, 153 },
154 154
155 /** 155 /**
156 * @param {!WebInspector.BreakpointManager.Breakpoint} breakpoint 156 * @param {!WebInspector.BreakpointManager.Breakpoint} breakpoint
157 * @param {!Event} event 157 * @param {!Event} event
158 */ 158 */
159 _breakpointCheckboxClicked: function(breakpoint, event) 159 _breakpointCheckboxClicked: function(breakpoint, event)
160 { 160 {
161 // Breakpoint element has it's own click handler. 161 // Breakpoint element has it's own click handler.
162 event.consume(); 162 event.consume();
163 breakpoint.setEnabled(event.target.checked); 163 breakpoint.setEnabled(event.target.checkboxElement.checked);
164 }, 164 },
165 165
166 /** 166 /**
167 * @param {!WebInspector.BreakpointManager.Breakpoint} breakpoint 167 * @param {!WebInspector.BreakpointManager.Breakpoint} breakpoint
168 * @param {!Event} event 168 * @param {!Event} event
169 */ 169 */
170 _breakpointContextMenu: function(breakpoint, event) 170 _breakpointContextMenu: function(breakpoint, event)
171 { 171 {
172 var breakpoints = this._items.valuesArray(); 172 var breakpoints = this._items.valuesArray();
173 var contextMenu = new WebInspector.ContextMenu(event); 173 var contextMenu = new WebInspector.ContextMenu(event);
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 this.listElement.removeChildren(); 242 this.listElement.removeChildren();
243 if (this.listElement.parentElement) { 243 if (this.listElement.parentElement) {
244 this.element.removeChild(this.listElement); 244 this.element.removeChild(this.listElement);
245 this.element.appendChild(this.emptyElement); 245 this.element.appendChild(this.emptyElement);
246 } 246 }
247 this._items.clear(); 247 this._items.clear();
248 }, 248 },
249 249
250 __proto__: WebInspector.SidebarPane.prototype 250 __proto__: WebInspector.SidebarPane.prototype
251 } 251 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698