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

Unified Diff: Source/devtools/front_end/profiler/CPUProfileFlameChart.js

Issue 668683002: DevTools: remove style reuse from flamechart clients, prepare it to become a component. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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 | « Source/devtools/front_end/heapProfiler.css ('k') | Source/devtools/front_end/profiler/HeapSnapshotView.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/profiler/CPUProfileFlameChart.js
diff --git a/Source/devtools/front_end/profiler/CPUProfileFlameChart.js b/Source/devtools/front_end/profiler/CPUProfileFlameChart.js
index d07d5bc4f95a06de2a8435afbe43efb32a93d781..315f027f267f7d5a3e3237b9871b5100b643e656 100644
--- a/Source/devtools/front_end/profiler/CPUProfileFlameChart.js
+++ b/Source/devtools/front_end/profiler/CPUProfileFlameChart.js
@@ -376,7 +376,6 @@ WebInspector.CPUFlameChartDataProvider.colorGenerator = function()
WebInspector.CPUProfileFlameChart = function(dataProvider)
{
WebInspector.VBox.call(this);
- this.registerRequiredCSS("flameChart.css");
this.element.id = "cpu-flame-chart";
this._overviewPane = new WebInspector.CPUProfileFlameChart.OverviewPane(dataProvider);
@@ -514,11 +513,11 @@ WebInspector.CPUProfileFlameChart.OverviewCalculator.prototype = {
WebInspector.CPUProfileFlameChart.OverviewPane = function(dataProvider)
{
WebInspector.VBox.call(this);
- this.element.classList.add("flame-chart-overview-pane");
- this._overviewContainer = this.element.createChild("div", "overview-container");
- this._overviewGrid = new WebInspector.OverviewGrid("flame-chart");
+ this.element.classList.add("cpu-profile-flame-chart-overview-pane");
+ this._overviewContainer = this.element.createChild("div", "cpu-profile-flame-chart-overview-container");
+ this._overviewGrid = new WebInspector.OverviewGrid("cpu-profile-flame-chart");
this._overviewGrid.element.classList.add("fill");
- this._overviewCanvas = this._overviewContainer.createChild("canvas", "flame-chart-overview-canvas");
+ this._overviewCanvas = this._overviewContainer.createChild("canvas", "cpu-profile-flame-chart-overview-canvas");
this._overviewContainer.appendChild(this._overviewGrid.element);
this._overviewCalculator = new WebInspector.CPUProfileFlameChart.OverviewCalculator();
this._dataProvider = dataProvider;
« no previous file with comments | « Source/devtools/front_end/heapProfiler.css ('k') | Source/devtools/front_end/profiler/HeapSnapshotView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698