OLD | NEW |
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 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
434 } | 434 } |
435 | 435 |
436 /** | 436 /** |
437 * @constructor | 437 * @constructor |
438 * @extends {WebInspector.SidebarPane} | 438 * @extends {WebInspector.SidebarPane} |
439 * @param {!WebInspector.DOMBreakpointsSidebarPane} pane | 439 * @param {!WebInspector.DOMBreakpointsSidebarPane} pane |
440 * @param {!WebInspector.Panel} panel | 440 * @param {!WebInspector.Panel} panel |
441 */ | 441 */ |
442 WebInspector.DOMBreakpointsSidebarPane.Proxy = function(pane, panel) | 442 WebInspector.DOMBreakpointsSidebarPane.Proxy = function(pane, panel) |
443 { | 443 { |
444 WebInspector.View.__assert(!pane.titleElement.firstChild, "Cannot create pro
xy for a sidebar pane with a toolbar"); | 444 WebInspector.Widget.__assert(!pane.titleElement.firstChild, "Cannot create p
roxy for a sidebar pane with a toolbar"); |
445 | 445 |
446 WebInspector.SidebarPane.call(this, pane.title()); | 446 WebInspector.SidebarPane.call(this, pane.title()); |
447 this.registerRequiredCSS("components/breakpointsList.css"); | 447 this.registerRequiredCSS("components/breakpointsList.css"); |
448 | 448 |
449 this._wrappedPane = pane; | 449 this._wrappedPane = pane; |
450 this._panel = panel; | 450 this._panel = panel; |
451 | 451 |
452 this.bodyElement.remove(); | 452 this.bodyElement.remove(); |
453 this.bodyElement = this._wrappedPane.bodyElement; | 453 this.bodyElement = this._wrappedPane.bodyElement; |
454 } | 454 } |
(...skipping 24 matching lines...) Expand all Loading... |
479 this.element.appendChild(this.bodyElement); | 479 this.element.appendChild(this.bodyElement); |
480 }, | 480 }, |
481 | 481 |
482 __proto__: WebInspector.SidebarPane.prototype | 482 __proto__: WebInspector.SidebarPane.prototype |
483 } | 483 } |
484 | 484 |
485 /** | 485 /** |
486 * @type {!WebInspector.DOMBreakpointsSidebarPane} | 486 * @type {!WebInspector.DOMBreakpointsSidebarPane} |
487 */ | 487 */ |
488 WebInspector.domBreakpointsSidebarPane; | 488 WebInspector.domBreakpointsSidebarPane; |
OLD | NEW |