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

Unified Diff: Source/devtools/front_end/timeline/Layers3DView.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/Layers3DView.js
diff --git a/Source/devtools/front_end/timeline/Layers3DView.js b/Source/devtools/front_end/timeline/Layers3DView.js
index 43fbf7841391188da0a5f57c37726acc71986cc7..62ea916c88b13a8786ca2d0d1992be3e33172660 100644
--- a/Source/devtools/front_end/timeline/Layers3DView.js
+++ b/Source/devtools/front_end/timeline/Layers3DView.js
@@ -38,7 +38,7 @@ WebInspector.Layers3DView = function(layerViewHost)
{
WebInspector.VBox.call(this);
this.element.classList.add("layers-3d-view");
- this._emptyView = new WebInspector.EmptyView(WebInspector.UIString("Layer information is not yet available."));
+ this._emptyWidget = new WebInspector.EmptyWidget(WebInspector.UIString("Layer information is not yet available."));
this._layerViewHost = layerViewHost;
this._layerViewHost.registerView(this);
@@ -644,10 +644,10 @@ WebInspector.Layers3DView.prototype = {
return;
}
if (!this._layerTree || !this._layerTree.root()) {
- this._emptyView.show(this.element);
+ this._emptyWidget.show(this.element);
return;
}
- this._emptyView.detach();
+ this._emptyWidget.detach();
var gl = this._initGLIfNecessary();
this._resizeCanvas();
« no previous file with comments | « Source/devtools/front_end/timeline/LayerDetailsView.js ('k') | Source/devtools/front_end/timeline/TimelineFlameChart.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698