Index: Source/devtools/front_end/elements/StylesSidebarPane.js |
diff --git a/Source/devtools/front_end/elements/StylesSidebarPane.js b/Source/devtools/front_end/elements/StylesSidebarPane.js |
index 4f13bd6f2490ee7b24b853c4a587d991071bf722..19163216ad78d25a2ffff1cd9a74d7992c9493a0 100644 |
--- a/Source/devtools/front_end/elements/StylesSidebarPane.js |
+++ b/Source/devtools/front_end/elements/StylesSidebarPane.js |
@@ -30,9 +30,8 @@ |
/** |
* @constructor |
* @extends {WebInspector.ElementsSidebarPane} |
- * @param {function()} requestShowCallback |
*/ |
-WebInspector.StylesSidebarPane = function(requestShowCallback) |
+WebInspector.StylesSidebarPane = function() |
{ |
WebInspector.ElementsSidebarPane.call(this, WebInspector.UIString("Styles")); |
this.setMinimumSize(96, 26); |
@@ -49,7 +48,6 @@ WebInspector.StylesSidebarPane = function(requestShowCallback) |
toolbar.element.classList.add("styles-pane-toolbar", "toolbar-gray-toggled"); |
this._currentToolbarPane = null; |
- this._requestShowCallback = requestShowCallback; |
var toolbarPaneContainer = this.element.createChild("div", "styles-sidebar-toolbar-pane-container"); |
this._toolbarPaneElement = toolbarPaneContainer.createChild("div", "styles-sidebar-toolbar-pane"); |
this._sectionsContainer = this.element.createChild("div"); |
@@ -260,15 +258,6 @@ WebInspector.StylesSidebarPane.prototype = { |
}, |
/** |
- * @param {string} propertyName |
- */ |
- tracePropertyName: function(propertyName) |
- { |
- this._requestShowCallback(); |
- this._filterInput.setFilterValue(WebInspector.CSSMetadata.canonicalPropertyName(propertyName)); |
- }, |
- |
- /** |
* @param {?RegExp} regex |
*/ |
_onFilterChanged: function(regex) |