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

Unified Diff: third_party/WebKit/Source/devtools/front_end/layer_viewer/PaintProfilerView.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/PaintProfilerView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/timeline/PaintProfilerView.js b/third_party/WebKit/Source/devtools/front_end/layer_viewer/PaintProfilerView.js
similarity index 99%
rename from third_party/WebKit/Source/devtools/front_end/timeline/PaintProfilerView.js
rename to third_party/WebKit/Source/devtools/front_end/layer_viewer/PaintProfilerView.js
index abc7606d22cde188c17915551eab6f5fddf2149a..523e3c05d3293e342ecd90a25c1d6270fd3870c9 100644
--- a/third_party/WebKit/Source/devtools/front_end/timeline/PaintProfilerView.js
+++ b/third_party/WebKit/Source/devtools/front_end/layer_viewer/PaintProfilerView.js
@@ -36,6 +36,7 @@
WebInspector.PaintProfilerView = function(showImageCallback)
{
WebInspector.HBox.call(this);
dgozman 2016/09/22 16:35:34 Turn into web component as well?
+ this.registerRequiredCSS("layer_viewer/paintProfiler.css");
this.element.classList.add("paint-profiler-overview", "hbox");
this._canvasContainer = this.element.createChild("div", "paint-profiler-canvas-container");
this._progressBanner = this.element.createChild("div", "banner hidden");

Powered by Google App Engine
This is Rietveld 408576698