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

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

Issue 2349533002: [DevTools] Migrate RevisionHistoryView 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/sources/revisionHistory.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/sources/RevisionHistoryView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/RevisionHistoryView.js b/third_party/WebKit/Source/devtools/front_end/sources/RevisionHistoryView.js
index ce05770cafd41f027ea51a22dd52c460687aee99..75ae06607abdd364a07b96f37af1540922d20202 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/RevisionHistoryView.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/RevisionHistoryView.js
@@ -35,12 +35,11 @@
WebInspector.RevisionHistoryView = function()
{
WebInspector.VBox.call(this);
- this.registerRequiredCSS("sources/revisionHistory.css");
- this.element.classList.add("revision-history-drawer");
this._uiSourceCodeItems = new Map();
- this._treeOutline = new TreeOutline();
- this._treeOutline.element.classList.add("outline-disclosure");
+ this._treeOutline = new TreeOutlineInShadow();
+ this._treeOutline.registerRequiredCSS("sources/revisionHistory.css");
+ this._treeOutline.makeDense();
this.element.appendChild(this._treeOutline.element);
/**
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/sources/revisionHistory.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698