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

Unified Diff: Source/devtools/front_end/ui/DropTarget.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/Dialog.js ('k') | Source/devtools/front_end/ui/EmptyView.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/ui/DropTarget.js
diff --git a/Source/devtools/front_end/ui/DropTarget.js b/Source/devtools/front_end/ui/DropTarget.js
index a12f0e9e2168e9fcc65f8fde274acfb71e9e326a..410670baf716e1ec57f726c86999c9027511b619 100644
--- a/Source/devtools/front_end/ui/DropTarget.js
+++ b/Source/devtools/front_end/ui/DropTarget.js
@@ -69,7 +69,7 @@ WebInspector.DropTarget.prototype = {
return;
this._dragMaskElement = this._element.createChild("div", "");
var shadowRoot = this._dragMaskElement.createShadowRoot();
- shadowRoot.appendChild(WebInspector.View.createStyleElement("ui/dropTarget.css"));
+ shadowRoot.appendChild(WebInspector.Widget.createStyleElement("ui/dropTarget.css"));
shadowRoot.createChild("div", "drop-target-message").textContent = this._messageText;
this._dragMaskElement.addEventListener("drop", this._onDrop.bind(this), true);
this._dragMaskElement.addEventListener("dragleave", this._onDragLeave.bind(this), true);
« no previous file with comments | « Source/devtools/front_end/ui/Dialog.js ('k') | Source/devtools/front_end/ui/EmptyView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698