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

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

Issue 2900843002: DevTools: remove BreakpointsSidebarPaneBase and breakpointsList.css (Closed)
Patch Set: rebase again Created 3 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) 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 * @implements {UI.ContextFlavorListener} 5 * @implements {UI.ContextFlavorListener}
6 * @unrestricted 6 * @unrestricted
7 */ 7 */
8 Sources.JavaScriptBreakpointsSidebarPane = class extends UI.ThrottledWidget { 8 Sources.JavaScriptBreakpointsSidebarPane = class extends UI.ThrottledWidget {
9 constructor() { 9 constructor() {
10 super(true); 10 super(true);
11 this.registerRequiredCSS('components/breakpointsList.css'); 11 this.registerRequiredCSS('sources/javaScriptBreakpointsSidebarPane.css');
12 12
13 this._breakpointManager = Bindings.breakpointManager; 13 this._breakpointManager = Bindings.breakpointManager;
14 this._breakpointManager.addEventListener(Bindings.BreakpointManager.Events.B reakpointAdded, this.update, this); 14 this._breakpointManager.addEventListener(Bindings.BreakpointManager.Events.B reakpointAdded, this.update, this);
15 this._breakpointManager.addEventListener(Bindings.BreakpointManager.Events.B reakpointRemoved, this.update, this); 15 this._breakpointManager.addEventListener(Bindings.BreakpointManager.Events.B reakpointRemoved, this.update, this);
16 this._breakpointManager.addEventListener( 16 this._breakpointManager.addEventListener(
17 Bindings.BreakpointManager.Events.BreakpointsActiveStateChanged, this.up date, this); 17 Bindings.BreakpointManager.Events.BreakpointsActiveStateChanged, this.up date, this);
18 18
19 /** @type {?Element} */ 19 /** @type {?Element} */
20 this._listElement = null; 20 this._listElement = null;
21 this.update(); 21 this.update();
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 this.update(); 219 this.update();
220 } 220 }
221 221
222 _didUpdateForTest() { 222 _didUpdateForTest() {
223 } 223 }
224 }; 224 };
225 225
226 Sources.JavaScriptBreakpointsSidebarPane._locationSymbol = Symbol('location'); 226 Sources.JavaScriptBreakpointsSidebarPane._locationSymbol = Symbol('location');
227 Sources.JavaScriptBreakpointsSidebarPane._checkboxLabelSymbol = Symbol('checkbox -label'); 227 Sources.JavaScriptBreakpointsSidebarPane._checkboxLabelSymbol = Symbol('checkbox -label');
228 Sources.JavaScriptBreakpointsSidebarPane._snippetElementSymbol = Symbol('snippet -element'); 228 Sources.JavaScriptBreakpointsSidebarPane._snippetElementSymbol = Symbol('snippet -element');
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698