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 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
406 * @constructor | 406 * @constructor |
407 * @extends {WebInspector.VBox} | 407 * @extends {WebInspector.VBox} |
408 */ | 408 */ |
409 WebInspector.DOMBreakpointsSidebarPane.Proxy = function() | 409 WebInspector.DOMBreakpointsSidebarPane.Proxy = function() |
410 { | 410 { |
411 WebInspector.VBox.call(this); | 411 WebInspector.VBox.call(this); |
412 this.registerRequiredCSS("components/breakpointsList.css"); | 412 this.registerRequiredCSS("components/breakpointsList.css"); |
413 }; | 413 }; |
414 | 414 |
415 WebInspector.DOMBreakpointsSidebarPane.Proxy.prototype = { | 415 WebInspector.DOMBreakpointsSidebarPane.Proxy.prototype = { |
| 416 /** |
| 417 * @override |
| 418 */ |
416 wasShown: function() | 419 wasShown: function() |
417 { | 420 { |
418 WebInspector.SimpleView.prototype.wasShown.call(this); | 421 WebInspector.VBox.prototype.wasShown.call(this); |
419 var pane = WebInspector.domBreakpointsSidebarPane; | 422 var pane = WebInspector.domBreakpointsSidebarPane; |
420 if (pane.element.parentNode !== this.element) | 423 if (pane.element.parentNode !== this.element) |
421 pane.show(this.element); | 424 pane.show(this.element); |
422 }, | 425 }, |
423 | 426 |
424 __proto__: WebInspector.VBox.prototype | 427 __proto__: WebInspector.VBox.prototype |
425 }; | 428 }; |
426 | 429 |
427 /** | 430 /** |
428 * @type {!WebInspector.DOMBreakpointsSidebarPane} | 431 * @type {!WebInspector.DOMBreakpointsSidebarPane} |
429 */ | 432 */ |
430 WebInspector.domBreakpointsSidebarPane; | 433 WebInspector.domBreakpointsSidebarPane; |
OLD | NEW |