| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2014 The Chromium Authors. All rights reserved. | 2 * Copyright 2014 The Chromium Authors. All rights reserved. |
| 3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
| 4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
| 5 */ | 5 */ |
| 6 | 6 |
| 7 /** | 7 /** |
| 8 * @constructor | 8 * @constructor |
| 9 * @extends {WebInspector.VBox} | 9 * @extends {WebInspector.VBox} |
| 10 * @implements {WebInspector.ListWidget.Delegate} | 10 * @implements {WebInspector.ListWidget.Delegate} |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 this.contentElement.appendChild(addPatternButton); | 32 this.contentElement.appendChild(addPatternButton); |
| 33 | 33 |
| 34 this._setting = WebInspector.moduleSetting("skipStackFramesPattern"); | 34 this._setting = WebInspector.moduleSetting("skipStackFramesPattern"); |
| 35 this._setting.addChangeListener(this._settingUpdated, this); | 35 this._setting.addChangeListener(this._settingUpdated, this); |
| 36 | 36 |
| 37 this.setDefaultFocusedElement(addPatternButton); | 37 this.setDefaultFocusedElement(addPatternButton); |
| 38 this.contentElement.tabIndex = 0; | 38 this.contentElement.tabIndex = 0; |
| 39 }; | 39 }; |
| 40 | 40 |
| 41 WebInspector.FrameworkBlackboxSettingsTab.prototype = { | 41 WebInspector.FrameworkBlackboxSettingsTab.prototype = { |
| 42 /** |
| 43 * @override |
| 44 */ |
| 42 wasShown: function() | 45 wasShown: function() |
| 43 { | 46 { |
| 44 WebInspector.SettingsTab.prototype.wasShown.call(this); | 47 WebInspector.VBox.prototype.wasShown.call(this); |
| 45 this._settingUpdated(); | 48 this._settingUpdated(); |
| 46 }, | 49 }, |
| 47 | 50 |
| 48 _settingUpdated: function() | 51 _settingUpdated: function() |
| 49 { | 52 { |
| 50 this._list.clear(); | 53 this._list.clear(); |
| 51 var patterns = this._setting.getAsArray(); | 54 var patterns = this._setting.getAsArray(); |
| 52 for (var i = 0; i < patterns.length; ++i) | 55 for (var i = 0; i < patterns.length; ++i) |
| 53 this._list.appendItem(patterns[i], true); | 56 this._list.appendItem(patterns[i], true); |
| 54 }, | 57 }, |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 * @return {boolean} | 177 * @return {boolean} |
| 175 */ | 178 */ |
| 176 function behaviorValidator(item, index, input) | 179 function behaviorValidator(item, index, input) |
| 177 { | 180 { |
| 178 return true; | 181 return true; |
| 179 } | 182 } |
| 180 }, | 183 }, |
| 181 | 184 |
| 182 __proto__: WebInspector.VBox.prototype | 185 __proto__: WebInspector.VBox.prototype |
| 183 }; | 186 }; |
| OLD | NEW |