| OLD | NEW |
| 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2014 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 /** | 5 /** |
| 6 * @constructor | 6 * @constructor |
| 7 * @extends {WebInspector.VBox} | 7 * @extends {WebInspector.VBox} |
| 8 */ | 8 */ |
| 9 WebInspector.ElementsSidebarPane = function() | 9 WebInspector.ElementsSidebarPane = function() |
| 10 { | 10 { |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 /** | 53 /** |
| 54 * @return {!Promise.<?>} | 54 * @return {!Promise.<?>} |
| 55 * @this {WebInspector.ElementsSidebarPane} | 55 * @this {WebInspector.ElementsSidebarPane} |
| 56 */ | 56 */ |
| 57 function innerUpdate() | 57 function innerUpdate() |
| 58 { | 58 { |
| 59 return this.isShowing() ? this.doUpdate() : Promise.resolve(); | 59 return this.isShowing() ? this.doUpdate() : Promise.resolve(); |
| 60 } | 60 } |
| 61 }, | 61 }, |
| 62 | 62 |
| 63 /** |
| 64 * @override |
| 65 */ |
| 63 wasShown: function() | 66 wasShown: function() |
| 64 { | 67 { |
| 65 WebInspector.VBox.prototype.wasShown.call(this); | 68 WebInspector.VBox.prototype.wasShown.call(this); |
| 66 if (this._updateWhenVisible) | 69 if (this._updateWhenVisible) |
| 67 this.update(); | 70 this.update(); |
| 68 }, | 71 }, |
| 69 | 72 |
| 70 /** | 73 /** |
| 71 * @param {!WebInspector.Event} event | 74 * @param {!WebInspector.Event} event |
| 72 */ | 75 */ |
| 73 onCSSModelChanged: function(event) { }, | 76 onCSSModelChanged: function(event) { }, |
| 74 | 77 |
| 75 __proto__: WebInspector.VBox.prototype | 78 __proto__: WebInspector.VBox.prototype |
| 76 }; | 79 }; |
| OLD | NEW |