| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 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.AdvancedSearchView = function() | 9 WebInspector.AdvancedSearchView = function() |
| 10 { | 10 { |
| (...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 266 }, | 266 }, |
| 267 | 267 |
| 268 /** | 268 /** |
| 269 * @param {boolean} finished | 269 * @param {boolean} finished |
| 270 */ | 270 */ |
| 271 _searchFinished: function(finished) | 271 _searchFinished: function(finished) |
| 272 { | 272 { |
| 273 this._searchMessageElement.textContent = finished ? WebInspector.UIStrin
g("Search finished.") : WebInspector.UIString("Search interrupted."); | 273 this._searchMessageElement.textContent = finished ? WebInspector.UIStrin
g("Search finished.") : WebInspector.UIString("Search interrupted."); |
| 274 }, | 274 }, |
| 275 | 275 |
| 276 /** |
| 277 * @override |
| 278 * @return {!Element} |
| 279 */ |
| 280 defaultFocusedElement: function() |
| 281 { |
| 282 return this._search; |
| 283 }, |
| 284 |
| 276 focus: function() | 285 focus: function() |
| 277 { | 286 { |
| 278 WebInspector.setCurrentFocusElement(this._search); | 287 WebInspector.setCurrentFocusElement(this._search); |
| 279 this._search.select(); | 288 this._search.select(); |
| 280 }, | 289 }, |
| 281 | 290 |
| 282 willHide: function() | 291 willHide: function() |
| 283 { | 292 { |
| 284 this._stopSearch(); | 293 this._stopSearch(); |
| 285 }, | 294 }, |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 450 performIndexing: function(progress) { }, | 459 performIndexing: function(progress) { }, |
| 451 | 460 |
| 452 stopSearch: function() { }, | 461 stopSearch: function() { }, |
| 453 | 462 |
| 454 /** | 463 /** |
| 455 * @param {!WebInspector.ProjectSearchConfig} searchConfig | 464 * @param {!WebInspector.ProjectSearchConfig} searchConfig |
| 456 * @return {!WebInspector.SearchResultsPane} | 465 * @return {!WebInspector.SearchResultsPane} |
| 457 */ | 466 */ |
| 458 createSearchResultsPane: function(searchConfig) { } | 467 createSearchResultsPane: function(searchConfig) { } |
| 459 } | 468 } |
| OLD | NEW |