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

Unified Diff: third_party/WebKit/Source/devtools/front_end/perf_ui/PieChart.js

Issue 2623743002: DevTools: extract modules (non-extensions) (Closed)
Patch Set: rebaseline Created 3 years, 11 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/perf_ui/PieChart.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui_lazy/PieChart.js b/third_party/WebKit/Source/devtools/front_end/perf_ui/PieChart.js
similarity index 98%
rename from third_party/WebKit/Source/devtools/front_end/ui_lazy/PieChart.js
rename to third_party/WebKit/Source/devtools/front_end/perf_ui/PieChart.js
index 79bed49c5489ee6e2110bd3321bad61fb8a10f2d..eedbd72670e805bc2db3d42116e9b642b6b4aa49 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui_lazy/PieChart.js
+++ b/third_party/WebKit/Source/devtools/front_end/perf_ui/PieChart.js
@@ -31,7 +31,7 @@
/**
* @unrestricted
*/
-UI.PieChart = class {
+PerfUI.PieChart = class {
/**
* @param {number} size
* @param {function(number):string=} formatter
@@ -39,7 +39,7 @@ UI.PieChart = class {
*/
constructor(size, formatter, showTotal) {
this.element = createElement('div');
- this._shadowRoot = UI.createShadowRootWithCoreStyles(this.element, 'ui_lazy/pieChart.css');
+ this._shadowRoot = UI.createShadowRootWithCoreStyles(this.element, 'perf_ui/pieChart.css');
var root = this._shadowRoot.createChild('div', 'root');
var svg = this._createSVGChild(root, 'svg');
this._group = this._createSVGChild(svg, 'g');

Powered by Google App Engine
This is Rietveld 408576698