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

Unified Diff: third_party/WebKit/Source/devtools/front_end/elements/PropertiesWidget.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/PropertiesWidget.js
diff --git a/third_party/WebKit/Source/devtools/front_end/elements/PropertiesWidget.js b/third_party/WebKit/Source/devtools/front_end/elements/PropertiesWidget.js
index 29133fa03a6dfb922bab6ed6abb330c131b4d540..a8a26c640191393db23a5027a60fe820f1147f8a 100644
--- a/third_party/WebKit/Source/devtools/front_end/elements/PropertiesWidget.js
+++ b/third_party/WebKit/Source/devtools/front_end/elements/PropertiesWidget.js
@@ -29,11 +29,11 @@
/**
* @constructor
- * @extends {WebInspector.ThrottledWidget}
+ * @extends {WebInspector.ThrottledView}
*/
WebInspector.PropertiesWidget = function()
{
- WebInspector.ThrottledWidget.call(this);
+ WebInspector.ThrottledView.call(this, WebInspector.UIString("Properties"));
WebInspector.targetManager.addModelListener(WebInspector.DOMModel, WebInspector.DOMModel.Events.AttrModified, this._onNodeChange, this);
WebInspector.targetManager.addModelListener(WebInspector.DOMModel, WebInspector.DOMModel.Events.AttrRemoved, this._onNodeChange, this);
@@ -42,14 +42,6 @@ WebInspector.PropertiesWidget = function()
WebInspector.context.addFlavorChangeListener(WebInspector.DOMNode, this._setNode, this);
}
-/**
- * @return {!WebInspector.ElementsSidebarViewWrapperPane}
- */
-WebInspector.PropertiesWidget.createSidebarWrapper = function()
-{
- return new WebInspector.ElementsSidebarViewWrapperPane(WebInspector.UIString("Properties"), new WebInspector.PropertiesWidget());
-}
-
WebInspector.PropertiesWidget._objectGroupName = "properties-sidebar-pane";
WebInspector.PropertiesWidget.prototype = {
@@ -188,5 +180,5 @@ WebInspector.PropertiesWidget.prototype = {
this.update();
},
- __proto__: WebInspector.ThrottledWidget.prototype
+ __proto__: WebInspector.ThrottledView.prototype
}

Powered by Google App Engine
This is Rietveld 408576698