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

Unified Diff: Source/devtools/front_end/elements/ElementsSidebarPane.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/elements/ElementsSidebarPane.js
diff --git a/Source/devtools/front_end/elements/ElementsSidebarPane.js b/Source/devtools/front_end/elements/ElementsSidebarPane.js
index 42619797713e878f18c81f0fd36e1736198d79d5..bfdfab7e97099720f400f4666f26a8f84054c5e6 100644
--- a/Source/devtools/front_end/elements/ElementsSidebarPane.js
+++ b/Source/devtools/front_end/elements/ElementsSidebarPane.js
@@ -57,7 +57,7 @@ WebInspector.ElementsSidebarPane.prototype = {
/**
* @constructor
- * @param {!WebInspector.View} view
+ * @param {!WebInspector.Widget} view
* @param {function(!WebInspector.Throttler.FinishCallback)} doUpdate
*/
WebInspector.ElementsSidebarPane._UpdateController = function(view, doUpdate)
@@ -98,12 +98,12 @@ WebInspector.ElementsSidebarPane._UpdateController.prototype = {
/**
* @constructor
- * @extends {WebInspector.View}
+ * @extends {WebInspector.Widget}
* @implements {WebInspector.ElementsSidebarView}
*/
WebInspector.ThrottledElementsSidebarView = function()
{
- WebInspector.View.call(this);
+ WebInspector.Widget.call(this);
this._node = null;
this._updateController = new WebInspector.ElementsSidebarPane._UpdateController(this, this.doUpdate.bind(this));
}
@@ -143,18 +143,18 @@ WebInspector.ThrottledElementsSidebarView.prototype = {
wasShown: function()
{
- WebInspector.View.prototype.wasShown.call(this);
+ WebInspector.Widget.prototype.wasShown.call(this);
this._updateController.viewWasShown();
},
/**
* @override
- * @return {!WebInspector.View}
+ * @return {!WebInspector.Widget}
*/
view: function()
{
return this;
},
- __proto__: WebInspector.View.prototype
+ __proto__: WebInspector.Widget.prototype
}
« no previous file with comments | « Source/devtools/front_end/elements/ElementsPanel.js ('k') | Source/devtools/front_end/elements/ElementsSidebarView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698