| 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 * @implements {WebInspector.ContentProvider} | 5 * @implements {WebInspector.ContentProvider} |
| 6 * @unrestricted | 6 * @unrestricted |
| 7 */ | 7 */ |
| 8 WebInspector.StaticContentProvider = class { | 8 WebInspector.StaticContentProvider = class { |
| 9 /** | 9 /** |
| 10 * @param {string} contentURL | 10 * @param {string} contentURL |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 /** | 63 /** |
| 64 * @param {string} content | 64 * @param {string} content |
| 65 */ | 65 */ |
| 66 function performSearch(content) { | 66 function performSearch(content) { |
| 67 callback(WebInspector.ContentProvider.performSearchInContent(content, quer
y, caseSensitive, isRegex)); | 67 callback(WebInspector.ContentProvider.performSearchInContent(content, quer
y, caseSensitive, isRegex)); |
| 68 } | 68 } |
| 69 | 69 |
| 70 this._lazyContent().then(performSearch); | 70 this._lazyContent().then(performSearch); |
| 71 } | 71 } |
| 72 }; | 72 }; |
| 73 | |
| 74 | |
| OLD | NEW |