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

Unified Diff: Source/devtools/front_end/timeline/TimelineFlameChart.js

Issue 1113813002: [DevTools] Rename View to Widget. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 5 years, 8 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: Source/devtools/front_end/timeline/TimelineFlameChart.js
diff --git a/Source/devtools/front_end/timeline/TimelineFlameChart.js b/Source/devtools/front_end/timeline/TimelineFlameChart.js
index edc768c19d4748dfc3b828335b7f833f2240c9ae..60092a8c6d17ba9894efa83b83c6cf4dafccd460 100644
--- a/Source/devtools/front_end/timeline/TimelineFlameChart.js
+++ b/Source/devtools/front_end/timeline/TimelineFlameChart.js
@@ -1392,7 +1392,7 @@ WebInspector.TimelineFlameChartView = function(delegate, timelineModel, frameMod
this._delegate = delegate;
this._model = timelineModel;
- this._splitView = new WebInspector.SplitView(false, false, "timelineFlamechartMainView", 150);
+ this._splitWidget = new WebInspector.SplitWidget(false, false, "timelineFlamechartMainView", 150);
this._dataProvider = new WebInspector.TimelineFlameChartDataProvider(this._model, frameModel);
this._mainView = new WebInspector.FlameChart(this._dataProvider, this, true);
@@ -1401,9 +1401,9 @@ WebInspector.TimelineFlameChartView = function(delegate, timelineModel, frameMod
this._networkView = new WebInspector.FlameChart(this._networkDataProvider, this, true);
if (Runtime.experiments.isEnabled("networkRequestsOnTimeline")) {
- this._splitView.setMainView(this._mainView);
- this._splitView.setSidebarView(this._networkView);
- this._splitView.show(this.element);
+ this._splitWidget.setMainWidget(this._mainView);
+ this._splitWidget.setSidebarWidget(this._networkView);
+ this._splitWidget.show(this.element);
} else {
this._mainView.show(this.element);
}
@@ -1468,7 +1468,7 @@ WebInspector.TimelineFlameChartView.prototype = {
/**
* @override
- * @return {!WebInspector.View}
+ * @return {!WebInspector.Widget}
*/
view: function()
{
@@ -1565,9 +1565,9 @@ WebInspector.TimelineFlameChartView.prototype = {
enableNetworkPane: function(enable, animate)
{
if (enable)
- this._splitView.showBoth(animate);
+ this._splitWidget.showBoth(animate);
else
- this._splitView.hideSidebar(animate);
+ this._splitWidget.hideSidebar(animate);
},
_refresh: function()
« no previous file with comments | « Source/devtools/front_end/timeline/Layers3DView.js ('k') | Source/devtools/front_end/timeline/TimelineLayersView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698