| 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 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 350 * @constructor | 350 * @constructor |
| 351 * @extends {WebInspector.SidebarPane} | 351 * @extends {WebInspector.SidebarPane} |
| 352 * @param {WebInspector.DOMBreakpointsSidebarPane} pane | 352 * @param {WebInspector.DOMBreakpointsSidebarPane} pane |
| 353 * @param {WebInspector.Panel} panel | 353 * @param {WebInspector.Panel} panel |
| 354 */ | 354 */ |
| 355 WebInspector.DOMBreakpointsSidebarPane.Proxy = function(pane, panel) | 355 WebInspector.DOMBreakpointsSidebarPane.Proxy = function(pane, panel) |
| 356 { | 356 { |
| 357 WebInspector.View._assert(!pane.titleElement.firstChild, "Cannot create prox
y for a sidebar pane with a toolbar"); | 357 WebInspector.View._assert(!pane.titleElement.firstChild, "Cannot create prox
y for a sidebar pane with a toolbar"); |
| 358 | 358 |
| 359 WebInspector.SidebarPane.call(this, pane.title()); | 359 WebInspector.SidebarPane.call(this, pane.title()); |
| 360 this.registerRequiredCSS("breakpointsList.css"); |
| 360 | 361 |
| 361 this._wrappedPane = pane; | 362 this._wrappedPane = pane; |
| 362 this._panel = panel; | 363 this._panel = panel; |
| 363 | 364 |
| 364 this.bodyElement.removeSelf(); | 365 this.bodyElement.removeSelf(); |
| 365 this.bodyElement = this._wrappedPane.bodyElement; | 366 this.bodyElement = this._wrappedPane.bodyElement; |
| 366 } | 367 } |
| 367 | 368 |
| 368 WebInspector.DOMBreakpointsSidebarPane.Proxy.prototype = { | 369 WebInspector.DOMBreakpointsSidebarPane.Proxy.prototype = { |
| 369 expand: function() | 370 expand: function() |
| (...skipping 22 matching lines...) Expand all Loading... |
| 392 this.element.appendChild(this.bodyElement); | 393 this.element.appendChild(this.bodyElement); |
| 393 }, | 394 }, |
| 394 | 395 |
| 395 __proto__: WebInspector.SidebarPane.prototype | 396 __proto__: WebInspector.SidebarPane.prototype |
| 396 } | 397 } |
| 397 | 398 |
| 398 /** | 399 /** |
| 399 * @type {?WebInspector.DOMBreakpointsSidebarPane} | 400 * @type {?WebInspector.DOMBreakpointsSidebarPane} |
| 400 */ | 401 */ |
| 401 WebInspector.domBreakpointsSidebarPane = null; | 402 WebInspector.domBreakpointsSidebarPane = null; |
| OLD | NEW |