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

Unified Diff: Source/devtools/front_end/elements/StylesSidebarPane.js

Issue 1312893006: DevTools: revert back ComputedStylesSidebar (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: brand new design Created 5 years, 4 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/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)

Powered by Google App Engine
This is Rietveld 408576698