| 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 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * | 10 * |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 } | 136 } |
| 137 | 137 |
| 138 /** | 138 /** |
| 139 * @constructor | 139 * @constructor |
| 140 * @extends {WebInspector.NavigatorView} | 140 * @extends {WebInspector.NavigatorView} |
| 141 */ | 141 */ |
| 142 WebInspector.SourcesNavigatorView = function() | 142 WebInspector.SourcesNavigatorView = function() |
| 143 { | 143 { |
| 144 WebInspector.NavigatorView.call(this); | 144 WebInspector.NavigatorView.call(this); |
| 145 WebInspector.targetManager.addEventListener(WebInspector.TargetManager.Event
s.InspectedURLChanged, this._inspectedURLChanged, this); | 145 WebInspector.targetManager.addEventListener(WebInspector.TargetManager.Event
s.InspectedURLChanged, this._inspectedURLChanged, this); |
| 146 | |
| 147 this._scriptsTree.setInteractiveFilterable(true); | |
| 148 } | 146 } |
| 149 | 147 |
| 150 WebInspector.SourcesNavigatorView.prototype = { | 148 WebInspector.SourcesNavigatorView.prototype = { |
| 151 /** | 149 /** |
| 152 * @override | 150 * @override |
| 153 * @param {!WebInspector.UISourceCode} uiSourceCode | 151 * @param {!WebInspector.UISourceCode} uiSourceCode |
| 154 * @return {boolean} | 152 * @return {boolean} |
| 155 */ | 153 */ |
| 156 accept: function(uiSourceCode) | 154 accept: function(uiSourceCode) |
| 157 { | 155 { |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 291 /** | 289 /** |
| 292 * @override | 290 * @override |
| 293 */ | 291 */ |
| 294 sourceDeleted: function(uiSourceCode) | 292 sourceDeleted: function(uiSourceCode) |
| 295 { | 293 { |
| 296 this._handleRemoveSnippet(uiSourceCode); | 294 this._handleRemoveSnippet(uiSourceCode); |
| 297 }, | 295 }, |
| 298 | 296 |
| 299 __proto__: WebInspector.NavigatorView.prototype | 297 __proto__: WebInspector.NavigatorView.prototype |
| 300 } | 298 } |
| OLD | NEW |