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

Unified Diff: Source/devtools/front_end/ElementsPanel.js

Issue 211193004: DevTools: move search in styles out of experimental. It proved to be stable. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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
« no previous file with comments | « no previous file | Source/devtools/front_end/Settings.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/ElementsPanel.js
diff --git a/Source/devtools/front_end/ElementsPanel.js b/Source/devtools/front_end/ElementsPanel.js
index 17fea58bced0eed76b57309414b7e1dc55542033..af8fbc64c408a10fe2bdc201a9de698ba8ca5b8e 100644
--- a/Source/devtools/front_end/ElementsPanel.js
+++ b/Source/devtools/front_end/ElementsPanel.js
@@ -90,9 +90,9 @@ WebInspector.ElementsPanel = function()
this.sidebarPanes.styles = new WebInspector.StylesSidebarPane(this.sidebarPanes.computedStyle, this._setPseudoClassForNodeId.bind(this));
this._matchedStylesFilterBoxContainer = document.createElement("div");
- this._matchedStylesFilterBoxContainer.className = "filter-box-container inspector-footer status-bar";
+ this._matchedStylesFilterBoxContainer.className = "sidebar-pane-filter-box";
this._computedStylesFilterBoxContainer = document.createElement("div");
- this._computedStylesFilterBoxContainer.className = "filter-box-container inspector-footer status-bar";
+ this._computedStylesFilterBoxContainer.className = "sidebar-pane-filter-box";
this.sidebarPanes.styles.setFilterBoxContainers(this._matchedStylesFilterBoxContainer, this._computedStylesFilterBoxContainer);
this.sidebarPanes.metrics = new WebInspector.MetricsSidebarPane();
@@ -1268,10 +1268,8 @@ WebInspector.ElementsPanel.prototype = {
computedPane.show(computedStylePanesWrapper);
computedPane.setExpandCallback(expandComposite);
- if (WebInspector.experimentsSettings.cssStyleSearch.isEnabled()) {
- splitView.mainElement().appendChild(this._matchedStylesFilterBoxContainer);
- splitView.sidebarElement().appendChild(this._computedStylesFilterBoxContainer);
- }
+ splitView.mainElement().appendChild(this._matchedStylesFilterBoxContainer);
+ splitView.sidebarElement().appendChild(this._computedStylesFilterBoxContainer);
this.sidebarPaneView.addPane(compositePane);
} else {
@@ -1289,10 +1287,8 @@ WebInspector.ElementsPanel.prototype = {
this.sidebarPaneView.addEventListener(WebInspector.TabbedPane.EventTypes.TabSelected, tabSelected, this);
- if (WebInspector.experimentsSettings.cssStyleSearch.isEnabled()) {
- stylesPane.bodyElement.appendChild(this._matchedStylesFilterBoxContainer);
- computedPane.bodyElement.appendChild(this._computedStylesFilterBoxContainer);
- }
+ stylesPane.bodyElement.appendChild(this._matchedStylesFilterBoxContainer);
+ computedPane.bodyElement.appendChild(this._computedStylesFilterBoxContainer);
this.sidebarPaneView.addPane(stylesPane);
this.sidebarPaneView.addPane(computedPane);
« no previous file with comments | « no previous file | Source/devtools/front_end/Settings.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698