| OLD | NEW | 
|---|
| 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  Loading... | 
| 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'); | 
| OLD | NEW | 
|---|