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

Unified Diff: Source/devtools/front_end/ui/Popover.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
« no previous file with comments | « Source/devtools/front_end/ui/Panel.js ('k') | Source/devtools/front_end/ui/ProgressIndicator.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/ui/Popover.js
diff --git a/Source/devtools/front_end/ui/Popover.js b/Source/devtools/front_end/ui/Popover.js
index d723b7850f3e1a9188e2fd89d005d9c053934a4b..f0790c485887731453ba0ddc6b626abb9b19c9a8 100644
--- a/Source/devtools/front_end/ui/Popover.js
+++ b/Source/devtools/front_end/ui/Popover.js
@@ -30,12 +30,12 @@
/**
* @constructor
- * @extends {WebInspector.View}
+ * @extends {WebInspector.Widget}
* @param {!WebInspector.PopoverHelper=} popoverHelper
*/
WebInspector.Popover = function(popoverHelper)
{
- WebInspector.View.call(this);
+ WebInspector.Widget.call(this);
this.markAsRoot();
this.element.className = WebInspector.Popover._classNamePrefix; // Override
WebInspector.installComponentRootStyles(this.element);
@@ -64,7 +64,7 @@ WebInspector.Popover.prototype = {
},
/**
- * @param {!WebInspector.View} view
+ * @param {!WebInspector.Widget} view
* @param {!Element|!AnchorBox} anchor
* @param {?number=} preferredWidth
* @param {?number=} preferredHeight
@@ -75,7 +75,7 @@ WebInspector.Popover.prototype = {
},
/**
- * @param {?WebInspector.View} view
+ * @param {?WebInspector.Widget} view
* @param {!Element} contentElement
* @param {!Element|!AnchorBox} anchor
* @param {?number=} preferredWidth
@@ -103,7 +103,7 @@ WebInspector.Popover.prototype = {
window.addEventListener("resize", this._hideBound, false);
document.body.appendChild(this._containerElement);
- WebInspector.View.prototype.show.call(this, this._containerElement);
+ WebInspector.Widget.prototype.show.call(this, this._containerElement);
if (view)
view.show(this._contentDiv);
@@ -245,7 +245,7 @@ WebInspector.Popover.prototype = {
this.element.style.height = newElementPosition.height + borderWidth * 2 + "px";
},
- __proto__: WebInspector.View.prototype
+ __proto__: WebInspector.Widget.prototype
}
/**
« no previous file with comments | « Source/devtools/front_end/ui/Panel.js ('k') | Source/devtools/front_end/ui/ProgressIndicator.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698