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

Unified Diff: Source/devtools/front_end/elements/ElementsPanel.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/ElementsPanel.js
diff --git a/Source/devtools/front_end/elements/ElementsPanel.js b/Source/devtools/front_end/elements/ElementsPanel.js
index 00ddd3142ed6c719a44567d6a826324c216224b1..b11fcdf71827008af2200c0dfb54de8e49d3c3ad 100644
--- a/Source/devtools/front_end/elements/ElementsPanel.js
+++ b/Source/devtools/front_end/elements/ElementsPanel.js
@@ -83,7 +83,7 @@ WebInspector.ElementsPanel = function()
this._elementsSidebarViewWrappers = [];
var sharedSidebarModel = new WebInspector.SharedSidebarModel();
this.sidebarPanes.platformFonts = WebInspector.PlatformFontsWidget.createSidebarWrapper(sharedSidebarModel);
- this.sidebarPanes.styles = new WebInspector.StylesSidebarPane(this._showStylesSidebar.bind(this));
+ this.sidebarPanes.styles = new WebInspector.StylesSidebarPane();
this.sidebarPanes.computedStyle = WebInspector.ComputedStyleWidget.createSidebarWrapper(this.sidebarPanes.styles, sharedSidebarModel);
@@ -945,11 +945,6 @@ WebInspector.ElementsPanel.prototype = {
this._treeOutlines[i].update();
},
- _showStylesSidebar: function()
- {
- this.sidebarPaneView.selectTab(this.sidebarPanes.styles.title());
- },
-
_updateSidebarPosition: function()
{
var vertically;
« no previous file with comments | « Source/devtools/front_end/elements/ComputedStyleWidget.js ('k') | Source/devtools/front_end/elements/StylesSectionModel.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698