Index: Source/devtools/front_end/timeline/TimelinePaintProfilerView.js |
diff --git a/Source/devtools/front_end/timeline/TimelinePaintProfilerView.js b/Source/devtools/front_end/timeline/TimelinePaintProfilerView.js |
index 93d473ec7642b1a6cbeb775c7b2651ad56cd053d..9f2b0a9ac427efddb04d9007707b90af1171eabe 100644 |
--- a/Source/devtools/front_end/timeline/TimelinePaintProfilerView.js |
+++ b/Source/devtools/front_end/timeline/TimelinePaintProfilerView.js |
@@ -5,28 +5,28 @@ |
/** |
* @constructor |
* @param {!WebInspector.TracingTimelineFrameModel} frameModel |
- * @extends {WebInspector.SplitView} |
+ * @extends {WebInspector.SplitWidget} |
*/ |
WebInspector.TimelinePaintProfilerView = function(frameModel) |
{ |
- WebInspector.SplitView.call(this, false, false); |
+ WebInspector.SplitWidget.call(this, false, false); |
this.element.classList.add("timeline-paint-profiler-view"); |
this.setSidebarSize(60); |
this.setResizable(false); |
this._frameModel = frameModel; |
- this._logAndImageSplitView = new WebInspector.SplitView(true, false); |
- this._logAndImageSplitView.element.classList.add("timeline-paint-profiler-log-split"); |
- this.setMainView(this._logAndImageSplitView); |
+ this._logAndImageSplitWidget = new WebInspector.SplitWidget(true, false); |
+ this._logAndImageSplitWidget.element.classList.add("timeline-paint-profiler-log-split"); |
+ this.setMainWidget(this._logAndImageSplitWidget); |
this._imageView = new WebInspector.TimelinePaintImageView(); |
- this._logAndImageSplitView.setMainView(this._imageView); |
+ this._logAndImageSplitWidget.setMainWidget(this._imageView); |
this._paintProfilerView = new WebInspector.PaintProfilerView(this._imageView.showImage.bind(this._imageView)); |
this._paintProfilerView.addEventListener(WebInspector.PaintProfilerView.Events.WindowChanged, this._onWindowChanged, this); |
- this.setSidebarView(this._paintProfilerView); |
+ this.setSidebarWidget(this._paintProfilerView); |
this._logTreeView = new WebInspector.PaintProfilerCommandLogView(); |
- this._logAndImageSplitView.setSidebarView(this._logTreeView); |
+ this._logAndImageSplitWidget.setSidebarWidget(this._logTreeView); |
} |
WebInspector.TimelinePaintProfilerView.prototype = { |
@@ -121,16 +121,16 @@ WebInspector.TimelinePaintProfilerView.prototype = { |
this._logTreeView.updateWindow(window.left, window.right); |
}, |
- __proto__: WebInspector.SplitView.prototype |
+ __proto__: WebInspector.SplitWidget.prototype |
}; |
/** |
* @constructor |
- * @extends {WebInspector.View} |
+ * @extends {WebInspector.Widget} |
*/ |
WebInspector.TimelinePaintImageView = function() |
{ |
- WebInspector.View.call(this); |
+ WebInspector.Widget.call(this); |
this.element.classList.add("fill", "paint-profiler-image-view"); |
this._imageContainer = this.element.createChild("div", "paint-profiler-image-container"); |
this._imageElement = this._imageContainer.createChild("img"); |
@@ -202,5 +202,5 @@ WebInspector.TimelinePaintImageView.prototype = { |
this._maskElement.classList.toggle("hidden", !maskRectangle); |
}, |
- __proto__: WebInspector.View.prototype |
+ __proto__: WebInspector.Widget.prototype |
}; |