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

Unified Diff: Source/devtools/front_end/components/CustomPreviewSection.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/components/CustomPreviewSection.js
diff --git a/Source/devtools/front_end/components/CustomPreviewSection.js b/Source/devtools/front_end/components/CustomPreviewSection.js
index 1d9d6b1e7e16b8472716242cb431e1743d8f74ee..80fe09559821fd5f8a2062921d62cb4e331bd5b3 100644
--- a/Source/devtools/front_end/components/CustomPreviewSection.js
+++ b/Source/devtools/front_end/components/CustomPreviewSection.js
@@ -45,7 +45,7 @@ WebInspector.CustomPreviewSection.createInShadow = function(object, expand)
var customPreviewSection = new WebInspector.CustomPreviewSection(object);
var element = WebInspector.CustomPreviewSection._createComponentRoot();
var shadowRoot = element.createShadowRoot();
- shadowRoot.appendChild(WebInspector.View.createStyleElement("components/customPreviewSection.css"));
+ shadowRoot.appendChild(WebInspector.Widget.createStyleElement("components/customPreviewSection.css"));
shadowRoot.appendChild(customPreviewSection.element());
if (expand && object.customPreview().hasBody)
@@ -136,7 +136,7 @@ WebInspector.CustomPreviewSection.prototype = {
var componentRoot = WebInspector.CustomPreviewSection._createComponentRoot();
header.appendChild(componentRoot);
var shadowRoot = componentRoot.createShadowRoot();
- shadowRoot.appendChild(WebInspector.View.createStyleElement("components/objectValue.css"));
+ shadowRoot.appendChild(WebInspector.Widget.createStyleElement("components/objectValue.css"));
shadowRoot.appendChild(WebInspector.ObjectPropertiesSection.createValueElement(remoteObject, false));
if (!remoteObject.hasChildren)
return header;
« no previous file with comments | « Source/devtools/front_end/audits/AuditsPanel.js ('k') | Source/devtools/front_end/components/DOMBreakpointsSidebarPane.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698