| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 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 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 * @param {string} path | 127 * @param {string} path |
| 128 * @param {string} query | 128 * @param {string} query |
| 129 * @param {boolean} caseSensitive | 129 * @param {boolean} caseSensitive |
| 130 * @param {boolean} isRegex | 130 * @param {boolean} isRegex |
| 131 * @param {function(!Array.<!WebInspector.ContentProvider.SearchMatch>)} cal
lback | 131 * @param {function(!Array.<!WebInspector.ContentProvider.SearchMatch>)} cal
lback |
| 132 */ | 132 */ |
| 133 searchInFileContent: function(path, query, caseSensitive, isRegex, callback)
{ }, | 133 searchInFileContent: function(path, query, caseSensitive, isRegex, callback)
{ }, |
| 134 | 134 |
| 135 /** | 135 /** |
| 136 * @param {!WebInspector.ProjectSearchConfig} searchConfig | 136 * @param {!WebInspector.ProjectSearchConfig} searchConfig |
| 137 * @param {!Array.<string>} filesMathingFileQuery |
| 137 * @param {!WebInspector.Progress} progress | 138 * @param {!WebInspector.Progress} progress |
| 138 * @param {function(!Array.<string>)} callback | 139 * @param {function(!Array.<string>)} callback |
| 139 */ | 140 */ |
| 140 findFilesMatchingSearchRequest: function(searchConfig, progress, callback) {
}, | 141 findFilesMatchingSearchRequest: function(searchConfig, filesMathingFileQuery
, progress, callback) { }, |
| 141 | 142 |
| 142 /** | 143 /** |
| 143 * @param {!WebInspector.Progress} progress | 144 * @param {!WebInspector.Progress} progress |
| 144 */ | 145 */ |
| 145 indexContent: function(progress) { } | 146 indexContent: function(progress) { } |
| 146 } | 147 } |
| 147 | 148 |
| 148 /** | 149 /** |
| 149 * @interface | 150 * @interface |
| 150 */ | 151 */ |
| (...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 496 * @param {boolean} isRegex | 497 * @param {boolean} isRegex |
| 497 * @param {function(!Array.<!WebInspector.ContentProvider.SearchMatch>)} cal
lback | 498 * @param {function(!Array.<!WebInspector.ContentProvider.SearchMatch>)} cal
lback |
| 498 */ | 499 */ |
| 499 searchInFileContent: function(uiSourceCode, query, caseSensitive, isRegex, c
allback) | 500 searchInFileContent: function(uiSourceCode, query, caseSensitive, isRegex, c
allback) |
| 500 { | 501 { |
| 501 this._projectDelegate.searchInFileContent(uiSourceCode.path(), query, ca
seSensitive, isRegex, callback); | 502 this._projectDelegate.searchInFileContent(uiSourceCode.path(), query, ca
seSensitive, isRegex, callback); |
| 502 }, | 503 }, |
| 503 | 504 |
| 504 /** | 505 /** |
| 505 * @param {!WebInspector.ProjectSearchConfig} searchConfig | 506 * @param {!WebInspector.ProjectSearchConfig} searchConfig |
| 507 * @param {!Array.<string>} filesMathingFileQuery |
| 506 * @param {!WebInspector.Progress} progress | 508 * @param {!WebInspector.Progress} progress |
| 507 * @param {function(!Array.<string>)} callback | 509 * @param {function(!Array.<string>)} callback |
| 508 */ | 510 */ |
| 509 findFilesMatchingSearchRequest: function(searchConfig, progress, callback) | 511 findFilesMatchingSearchRequest: function(searchConfig, filesMathingFileQuery
, progress, callback) |
| 510 { | 512 { |
| 511 this._projectDelegate.findFilesMatchingSearchRequest(searchConfig, progr
ess, callback); | 513 this._projectDelegate.findFilesMatchingSearchRequest(searchConfig, files
MathingFileQuery, progress, callback); |
| 512 }, | 514 }, |
| 513 | 515 |
| 514 /** | 516 /** |
| 515 * @param {!WebInspector.Progress} progress | 517 * @param {!WebInspector.Progress} progress |
| 516 */ | 518 */ |
| 517 indexContent: function(progress) | 519 indexContent: function(progress) |
| 518 { | 520 { |
| 519 this._projectDelegate.indexContent(progress); | 521 this._projectDelegate.indexContent(progress); |
| 520 } | 522 } |
| 521 } | 523 } |
| (...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 804 this.addEventListener(WebInspector.Workspace.Events.UISourceCodeAdded, l
istener, this); | 806 this.addEventListener(WebInspector.Workspace.Events.UISourceCodeAdded, l
istener, this); |
| 805 }, | 807 }, |
| 806 | 808 |
| 807 __proto__: WebInspector.Object.prototype | 809 __proto__: WebInspector.Object.prototype |
| 808 } | 810 } |
| 809 | 811 |
| 810 /** | 812 /** |
| 811 * @type {!WebInspector.Workspace} | 813 * @type {!WebInspector.Workspace} |
| 812 */ | 814 */ |
| 813 WebInspector.workspace; | 815 WebInspector.workspace; |
| OLD | NEW |