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

Unified Diff: third_party/WebKit/Source/devtools/front_end/layer_viewer/LayerTreeOutline.js

Issue 2358253002: DevTools: extract a component for layer viewer (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/layer_viewer/LayerTreeOutline.js
diff --git a/third_party/WebKit/Source/devtools/front_end/timeline/LayerTreeOutline.js b/third_party/WebKit/Source/devtools/front_end/layer_viewer/LayerTreeOutline.js
similarity index 99%
rename from third_party/WebKit/Source/devtools/front_end/timeline/LayerTreeOutline.js
rename to third_party/WebKit/Source/devtools/front_end/layer_viewer/LayerTreeOutline.js
index f3438e30b2f4347597d6c32019c457bd77594dcb..3cb635a8f8fb91b9af8da46b94fd4e3ee1a64787 100644
--- a/third_party/WebKit/Source/devtools/front_end/timeline/LayerTreeOutline.js
+++ b/third_party/WebKit/Source/devtools/front_end/layer_viewer/LayerTreeOutline.js
@@ -41,7 +41,7 @@ WebInspector.LayerTreeOutline = function(layerViewHost)
this._layerViewHost.registerView(this);
this._treeOutline = new TreeOutlineInShadow();
- this._treeOutline.element.classList.add("layer-tree");
+ this._treeOutline.element.classList.add("layer-tree", "overflow-auto");
this._treeOutline.element.addEventListener("mousemove", this._onMouseMove.bind(this), false);
this._treeOutline.element.addEventListener("mouseout", this._onMouseMove.bind(this), false);
this._treeOutline.element.addEventListener("contextmenu", this._onContextMenu.bind(this), true);

Powered by Google App Engine
This is Rietveld 408576698