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

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

Issue 2339683005: [DevTools] Migrate FileBasedSearchResultsPane to TreeOutlineInShadow. (Closed)
Patch Set: Created 4 years, 3 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/FileBasedSearchResultsPane.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/FileBasedSearchResultsPane.js b/third_party/WebKit/Source/devtools/front_end/sources/FileBasedSearchResultsPane.js
index 1109a80bf5d09c4c70129c4b6189638d8ee0425f..08568e6d08be8f03f64cf5012736a00f7bfd6a44 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/FileBasedSearchResultsPane.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/FileBasedSearchResultsPane.js
@@ -12,10 +12,8 @@ WebInspector.FileBasedSearchResultsPane = function(searchConfig)
WebInspector.SearchResultsPane.call(this, searchConfig);
this._searchResults = [];
-
- this.element.id = "search-results-pane-file-based";
- this._treeOutline = new TreeOutline();
- this._treeOutline.element.classList.add("search-results-outline-disclosure");
+ this._treeOutline = new TreeOutlineInShadow();
+ this._treeOutline.registerRequiredCSS("sources/fileBasedSearchResultsPane.css");
this.element.appendChild(this._treeOutline.element);
this._matchesExpandedCount = 0;

Powered by Google App Engine
This is Rietveld 408576698