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

Side by Side Diff: Source/devtools/front_end/components/DOMBreakpointsSidebarPane.js

Issue 988663002: DevTools: extract classes from BreakpointsSidebarPane.js (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 12 matching lines...) Expand all
23 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 23 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 /** 31 /**
32 * @constructor 32 * @constructor
33 * @extends {WebInspector.NativeBreakpointsSidebarPane} 33 * @extends {WebInspector.BreakpointsSidebarPaneBase}
34 */ 34 */
35 WebInspector.DOMBreakpointsSidebarPane = function() 35 WebInspector.DOMBreakpointsSidebarPane = function()
36 { 36 {
37 WebInspector.NativeBreakpointsSidebarPane.call(this, WebInspector.UIString(" DOM Breakpoints")); 37 WebInspector.BreakpointsSidebarPaneBase.call(this, WebInspector.UIString("DO M Breakpoints"));
38 38
39 this._breakpointElements = {}; 39 this._breakpointElements = {};
40 40
41 this._breakpointTypes = { 41 this._breakpointTypes = {
42 SubtreeModified: "subtree-modified", 42 SubtreeModified: "subtree-modified",
43 AttributeModified: "attribute-modified", 43 AttributeModified: "attribute-modified",
44 NodeRemoved: "node-removed" 44 NodeRemoved: "node-removed"
45 }; 45 };
46 this._breakpointTypeLabels = {}; 46 this._breakpointTypeLabels = {};
47 this._breakpointTypeLabels[this._breakpointTypes.SubtreeModified] = WebInspe ctor.UIString("Subtree Modified"); 47 this._breakpointTypeLabels[this._breakpointTypes.SubtreeModified] = WebInspe ctor.UIString("Subtree Modified");
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 this._proxies.push(proxy); 420 this._proxies.push(proxy);
421 return proxy; 421 return proxy;
422 }, 422 },
423 423
424 onContentReady: function() 424 onContentReady: function()
425 { 425 {
426 for (var i = 0; i != this._proxies.length; i++) 426 for (var i = 0; i != this._proxies.length; i++)
427 this._proxies[i].onContentReady(); 427 this._proxies[i].onContentReady();
428 }, 428 },
429 429
430 __proto__: WebInspector.NativeBreakpointsSidebarPane.prototype 430 __proto__: WebInspector.BreakpointsSidebarPaneBase.prototype
431 } 431 }
432 432
433 /** 433 /**
434 * @constructor 434 * @constructor
435 * @extends {WebInspector.SidebarPane} 435 * @extends {WebInspector.SidebarPane}
436 * @param {!WebInspector.DOMBreakpointsSidebarPane} pane 436 * @param {!WebInspector.DOMBreakpointsSidebarPane} pane
437 * @param {!WebInspector.Panel} panel 437 * @param {!WebInspector.Panel} panel
438 */ 438 */
439 WebInspector.DOMBreakpointsSidebarPane.Proxy = function(pane, panel) 439 WebInspector.DOMBreakpointsSidebarPane.Proxy = function(pane, panel)
440 { 440 {
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
476 this.element.appendChild(this.bodyElement); 476 this.element.appendChild(this.bodyElement);
477 }, 477 },
478 478
479 __proto__: WebInspector.SidebarPane.prototype 479 __proto__: WebInspector.SidebarPane.prototype
480 } 480 }
481 481
482 /** 482 /**
483 * @type {!WebInspector.DOMBreakpointsSidebarPane} 483 * @type {!WebInspector.DOMBreakpointsSidebarPane}
484 */ 484 */
485 WebInspector.domBreakpointsSidebarPane; 485 WebInspector.domBreakpointsSidebarPane;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698