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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sources/AdvancedSearchView.js

Issue 2692923013: DevTools: do not search in anonymous scripts unless specifically asked for. (Closed)
Patch Set: address comments Created 3 years, 10 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: third_party/WebKit/Source/devtools/front_end/sources/AdvancedSearchView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/AdvancedSearchView.js b/third_party/WebKit/Source/devtools/front_end/sources/AdvancedSearchView.js
index bfc38dffe0a91bc001b762af4bf593b0398af176..513ca1c89511387e4a63b14090f23a0409f90040 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/AdvancedSearchView.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/AdvancedSearchView.js
@@ -154,7 +154,7 @@ Sources.AdvancedSearchView = class extends UI.VBox {
if (!searchResult.searchMatches.length)
return;
if (!this._searchResultsPane)
- this._searchResultsPane = this._searchScope.createSearchResultsPane(this._searchConfig);
+ this._searchResultsPane = new Sources.FileBasedSearchResultsPane(this._searchConfig);
this._resetResults();
this._searchResultsElement.appendChild(this._searchResultsPane.element);
this._searchResultsPane.addSearchResult(searchResult);
@@ -435,11 +435,5 @@ Sources.SearchScope.prototype = {
*/
performIndexing(progress) {},
- stopSearch() {},
-
- /**
- * @param {!Workspace.ProjectSearchConfig} searchConfig
- * @return {!Sources.SearchResultsPane}
- */
- createSearchResultsPane(searchConfig) {}
+ stopSearch() {}
};

Powered by Google App Engine
This is Rietveld 408576698