Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3246)

Unified Diff: Source/devtools/front_end/sdk/Workspace.js

Issue 376163002: DevTools: Search across files should work for file:folderName queries. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/devtools/front_end/sdk/Workspace.js
diff --git a/Source/devtools/front_end/sdk/Workspace.js b/Source/devtools/front_end/sdk/Workspace.js
index d27f8f7f09483af83decb6d6d1f3fbbe957225cb..b615741b1dbdc9fb32f22926bd6eeac7beaf2141 100644
--- a/Source/devtools/front_end/sdk/Workspace.js
+++ b/Source/devtools/front_end/sdk/Workspace.js
@@ -134,10 +134,11 @@ WebInspector.ProjectDelegate.prototype = {
/**
* @param {!WebInspector.ProjectSearchConfig} searchConfig
+ * @param {!Array.<string>} filesMathingFileQuery
* @param {!WebInspector.Progress} progress
* @param {function(!Array.<string>)} callback
*/
- findFilesMatchingSearchRequest: function(searchConfig, progress, callback) { },
+ findFilesMatchingSearchRequest: function(searchConfig, filesMathingFileQuery, progress, callback) { },
/**
* @param {!WebInspector.Progress} progress
@@ -503,12 +504,13 @@ WebInspector.Project.prototype = {
/**
* @param {!WebInspector.ProjectSearchConfig} searchConfig
+ * @param {!Array.<string>} filesMathingFileQuery
* @param {!WebInspector.Progress} progress
* @param {function(!Array.<string>)} callback
*/
- findFilesMatchingSearchRequest: function(searchConfig, progress, callback)
+ findFilesMatchingSearchRequest: function(searchConfig, filesMathingFileQuery, progress, callback)
{
- this._projectDelegate.findFilesMatchingSearchRequest(searchConfig, progress, callback);
+ this._projectDelegate.findFilesMatchingSearchRequest(searchConfig, filesMathingFileQuery, progress, callback);
},
/**
« no previous file with comments | « Source/devtools/front_end/sdk/FileSystemWorkspaceBinding.js ('k') | Source/devtools/front_end/sources/SourcesSearchScope.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698