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

Unified Diff: Source/devtools/front_end/timeline/TimelineLayersView.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/TimelineLayersView.js
diff --git a/Source/devtools/front_end/timeline/TimelineLayersView.js b/Source/devtools/front_end/timeline/TimelineLayersView.js
index f550e0260ba22aa85f29a2f15ec1bdeba0b12092..ce18e8c9c71f684125d5139d1b87281a6084b085 100644
--- a/Source/devtools/front_end/timeline/TimelineLayersView.js
+++ b/Source/devtools/front_end/timeline/TimelineLayersView.js
@@ -6,20 +6,20 @@
/**
* @constructor
- * @extends {WebInspector.SplitView}
+ * @extends {WebInspector.SplitWidget}
*/
WebInspector.TimelineLayersView = function()
{
- WebInspector.SplitView.call(this, true, false, "timelineLayersView");
+ WebInspector.SplitWidget.call(this, true, false, "timelineLayersView");
this.element.classList.add("timeline-layers-view");
- this._rightSplitView = new WebInspector.SplitView(true, true, "timelineLayersViewDetails");
- this._rightSplitView.element.classList.add("timeline-layers-view-properties");
- this.setMainView(this._rightSplitView);
+ this._rightSplitWidget = new WebInspector.SplitWidget(true, true, "timelineLayersViewDetails");
+ this._rightSplitWidget.element.classList.add("timeline-layers-view-properties");
+ this.setMainWidget(this._rightSplitWidget);
this._paintTiles = [];
var vbox = new WebInspector.VBox();
- this.setSidebarView(vbox);
+ this.setSidebarWidget(vbox);
this._layerViewHost = new WebInspector.LayerViewHost();
@@ -28,10 +28,10 @@ WebInspector.TimelineLayersView = function()
this._layers3DView = new WebInspector.Layers3DView(this._layerViewHost);
this._layers3DView.addEventListener(WebInspector.Layers3DView.Events.PaintProfilerRequested, this._jumpToPaintEvent, this);
- this._rightSplitView.setMainView(this._layers3DView);
+ this._rightSplitWidget.setMainWidget(this._layers3DView);
var layerDetailsView = new WebInspector.LayerDetailsView(this._layerViewHost);
- this._rightSplitView.setSidebarView(layerDetailsView);
+ this._rightSplitWidget.setSidebarWidget(layerDetailsView);
layerDetailsView.addEventListener(WebInspector.LayerDetailsView.Events.PaintProfilerRequested, this._jumpToPaintEvent, this);
}
@@ -151,5 +151,5 @@ WebInspector.TimelineLayersView.prototype = {
this._paintTiles = [];
},
- __proto__: WebInspector.SplitView.prototype
+ __proto__: WebInspector.SplitWidget.prototype
}

Powered by Google App Engine
This is Rietveld 408576698