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

Unified Diff: third_party/WebKit/Source/devtools/front_end/elements/ComputedStyleWidget.js

Issue 2157713002: DevTools: introduce View: a named widget with the toolbar. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: lcean Created 4 years, 5 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: third_party/WebKit/Source/devtools/front_end/elements/ComputedStyleWidget.js
diff --git a/third_party/WebKit/Source/devtools/front_end/elements/ComputedStyleWidget.js b/third_party/WebKit/Source/devtools/front_end/elements/ComputedStyleWidget.js
index f0100c6c94cf83a07e06229dfdbd78cd04927aba..0f7849403b2015b065a44667dd11ea4e43c45dcc 100644
--- a/third_party/WebKit/Source/devtools/front_end/elements/ComputedStyleWidget.js
+++ b/third_party/WebKit/Source/devtools/front_end/elements/ComputedStyleWidget.js
@@ -29,11 +29,11 @@
/**
* @constructor
- * @extends {WebInspector.ThrottledWidget}
+ * @extends {WebInspector.ThrottledView}
*/
WebInspector.ComputedStyleWidget = function()
{
- WebInspector.ThrottledWidget.call(this);
+ WebInspector.ThrottledView.call(this, WebInspector.UIString("Computed Style"));
this.element.classList.add("computed-style-sidebar-pane");
this.registerRequiredCSS("elements/computedStyleSidebarPane.css");
@@ -75,15 +75,6 @@ WebInspector.ComputedStyleWidget = function()
fontsWidget.show(this.element);
}
-/**
- * @return {!WebInspector.ElementsSidebarViewWrapperPane}
- */
-WebInspector.ComputedStyleWidget.createSidebarWrapper = function()
-{
- var widget = new WebInspector.ComputedStyleWidget();
- return new WebInspector.ElementsSidebarViewWrapperPane(WebInspector.UIString("Computed Style"), widget)
-}
-
WebInspector.ComputedStyleWidget._propertySymbol = Symbol("property");
WebInspector.ComputedStyleWidget.prototype = {
@@ -364,5 +355,5 @@ WebInspector.ComputedStyleWidget.prototype = {
}
},
- __proto__: WebInspector.ThrottledWidget.prototype
+ __proto__: WebInspector.ThrottledView.prototype
}

Powered by Google App Engine
This is Rietveld 408576698