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

Unified Diff: third_party/WebKit/Source/devtools/front_end/perf_ui/ChartViewport.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/ChartViewport.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui_lazy/ChartViewport.js b/third_party/WebKit/Source/devtools/front_end/perf_ui/ChartViewport.js
similarity index 99%
rename from third_party/WebKit/Source/devtools/front_end/ui_lazy/ChartViewport.js
rename to third_party/WebKit/Source/devtools/front_end/perf_ui/ChartViewport.js
index 32ee51c15af8c7e91a7a07f7f34199713a697585..ede93ece84025b44000db61b395e56480ac93c41 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui_lazy/ChartViewport.js
+++ b/third_party/WebKit/Source/devtools/front_end/perf_ui/ChartViewport.js
@@ -4,7 +4,7 @@
/**
* @unrestricted
*/
-UI.ChartViewport = class extends UI.VBox {
+PerfUI.ChartViewport = class extends UI.VBox {
constructor() {
super(true);
@@ -371,7 +371,7 @@ UI.ChartViewport = class extends UI.VBox {
_requestWindowTimes(bounds) {
bounds.left = Number.constrain(bounds.left, this._minimumBoundary, this._totalTime + this._minimumBoundary);
bounds.right = Number.constrain(bounds.right, this._minimumBoundary, this._totalTime + this._minimumBoundary);
- if (bounds.right - bounds.left < UI.FlameChart.MinimalTimeWindowMs)
+ if (bounds.right - bounds.left < PerfUI.FlameChart.MinimalTimeWindowMs)
return;
this._flameChartDelegate.requestWindowTimes(bounds.left, bounds.right);
}

Powered by Google App Engine
This is Rietveld 408576698