<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[183327] trunk/Source/WebInspectorUI</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/183327">183327</a></dd>
<dt>Author</dt> <dd>timothy@apple.com</dd>
<dt>Date</dt> <dd>2015-04-25 18:18:35 -0700 (Sat, 25 Apr 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>Web Inspector: Remove sidebar panel shortcut and image
https://bugs.webkit.org/show_bug.cgi?id=144061

Sidebar panels no longer need a keyboard shortcut or a toolbar image.

Reviewed by Joseph Pecoraro.

* UserInterface/Views/ApplicationCacheDetailsSidebarPanel.js:
(WebInspector.ApplicationCacheDetailsSidebarPanel):
* UserInterface/Views/CSSStyleDetailsSidebarPanel.js:
(WebInspector.CSSStyleDetailsSidebarPanel):
* UserInterface/Views/DOMDetailsSidebarPanel.js:
(WebInspector.DOMDetailsSidebarPanel):
* UserInterface/Views/DOMNodeDetailsSidebarPanel.js:
(WebInspector.DOMNodeDetailsSidebarPanel):
* UserInterface/Views/DebuggerSidebarPanel.js:
* UserInterface/Views/DetailsSidebarPanel.js:
(WebInspector.DetailsSidebarPanel):
* UserInterface/Views/LayerTreeDetailsSidebarPanel.js:
(WebInspector.LayerTreeDetailsSidebarPanel):
* UserInterface/Views/NavigationSidebarPanel.js:
(WebInspector.NavigationSidebarPanel):
(WebInspector.NavigationSidebarPanel.prototype.restoreStateFromCookie):
(WebInspector.NavigationSidebarPanel.prototype.showEmptyContentPlaceholder):
(WebInspector.NavigationSidebarPanel.prototype.applyFiltersToTreeElement):
(WebInspector.NavigationSidebarPanel.prototype.show):
(WebInspector.NavigationSidebarPanel.prototype._updateContentOverflowShadowVisibility):
* UserInterface/Views/ProbeDetailsSidebarPanel.js:
(WebInspector.ProbeDetailsSidebarPanel):
* UserInterface/Views/RenderingFrameDetailsSidebarPanel.js:
* UserInterface/Views/ResourceDetailsSidebarPanel.js:
(WebInspector.ResourceDetailsSidebarPanel):
* UserInterface/Views/ResourceSidebarPanel.js:
(WebInspector.ResourceSidebarPanel):
* UserInterface/Views/ScopeChainDetailsSidebarPanel.js:
(WebInspector.ScopeChainDetailsSidebarPanel):
* UserInterface/Views/SidebarPanel.js:
(WebInspector.SidebarPanel):
(WebInspector.SidebarPanel.prototype.added):
(WebInspector.SidebarPanel.prototype.removed):
(WebInspector.SidebarPanel.prototype.visibilityDidChange):
* UserInterface/Views/TimelineSidebarPanel.js:
(WebInspector.TimelineSidebarPanel):
(WebInspector.TimelineSidebarPanel.prototype.showTimelineViewForTimeline):</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebInspectorUIChangeLog">trunk/Source/WebInspectorUI/ChangeLog</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceViewsApplicationCacheDetailsSidebarPaneljs">trunk/Source/WebInspectorUI/UserInterface/Views/ApplicationCacheDetailsSidebarPanel.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceViewsCSSStyleDetailsSidebarPaneljs">trunk/Source/WebInspectorUI/UserInterface/Views/CSSStyleDetailsSidebarPanel.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceViewsDOMDetailsSidebarPaneljs">trunk/Source/WebInspectorUI/UserInterface/Views/DOMDetailsSidebarPanel.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceViewsDOMNodeDetailsSidebarPaneljs">trunk/Source/WebInspectorUI/UserInterface/Views/DOMNodeDetailsSidebarPanel.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceViewsDebuggerSidebarPaneljs">trunk/Source/WebInspectorUI/UserInterface/Views/DebuggerSidebarPanel.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceViewsDetailsSidebarPaneljs">trunk/Source/WebInspectorUI/UserInterface/Views/DetailsSidebarPanel.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceViewsLayerTreeDetailsSidebarPaneljs">trunk/Source/WebInspectorUI/UserInterface/Views/LayerTreeDetailsSidebarPanel.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceViewsNavigationSidebarPaneljs">trunk/Source/WebInspectorUI/UserInterface/Views/NavigationSidebarPanel.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceViewsProbeDetailsSidebarPaneljs">trunk/Source/WebInspectorUI/UserInterface/Views/ProbeDetailsSidebarPanel.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceViewsRenderingFrameDetailsSidebarPaneljs">trunk/Source/WebInspectorUI/UserInterface/Views/RenderingFrameDetailsSidebarPanel.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceViewsResourceDetailsSidebarPaneljs">trunk/Source/WebInspectorUI/UserInterface/Views/ResourceDetailsSidebarPanel.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceViewsResourceSidebarPaneljs">trunk/Source/WebInspectorUI/UserInterface/Views/ResourceSidebarPanel.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceViewsScopeChainDetailsSidebarPaneljs">trunk/Source/WebInspectorUI/UserInterface/Views/ScopeChainDetailsSidebarPanel.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceViewsSidebarPaneljs">trunk/Source/WebInspectorUI/UserInterface/Views/SidebarPanel.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceViewsTimelineSidebarPaneljs">trunk/Source/WebInspectorUI/UserInterface/Views/TimelineSidebarPanel.js</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebInspectorUIChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/ChangeLog (183326 => 183327)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/ChangeLog        2015-04-26 01:17:57 UTC (rev 183326)
+++ trunk/Source/WebInspectorUI/ChangeLog        2015-04-26 01:18:35 UTC (rev 183327)
</span><span class="lines">@@ -1,5 +1,52 @@
</span><span class="cx"> 2015-04-22  Timothy Hatcher  &lt;timothy@apple.com&gt;
</span><span class="cx"> 
</span><ins>+        Web Inspector: Remove sidebar panel shortcut and image
+        https://bugs.webkit.org/show_bug.cgi?id=144061
+
+        Sidebar panels no longer need a keyboard shortcut or a toolbar image.
+
+        Reviewed by Joseph Pecoraro.
+
+        * UserInterface/Views/ApplicationCacheDetailsSidebarPanel.js:
+        (WebInspector.ApplicationCacheDetailsSidebarPanel):
+        * UserInterface/Views/CSSStyleDetailsSidebarPanel.js:
+        (WebInspector.CSSStyleDetailsSidebarPanel):
+        * UserInterface/Views/DOMDetailsSidebarPanel.js:
+        (WebInspector.DOMDetailsSidebarPanel):
+        * UserInterface/Views/DOMNodeDetailsSidebarPanel.js:
+        (WebInspector.DOMNodeDetailsSidebarPanel):
+        * UserInterface/Views/DebuggerSidebarPanel.js:
+        * UserInterface/Views/DetailsSidebarPanel.js:
+        (WebInspector.DetailsSidebarPanel):
+        * UserInterface/Views/LayerTreeDetailsSidebarPanel.js:
+        (WebInspector.LayerTreeDetailsSidebarPanel):
+        * UserInterface/Views/NavigationSidebarPanel.js:
+        (WebInspector.NavigationSidebarPanel):
+        (WebInspector.NavigationSidebarPanel.prototype.restoreStateFromCookie):
+        (WebInspector.NavigationSidebarPanel.prototype.showEmptyContentPlaceholder):
+        (WebInspector.NavigationSidebarPanel.prototype.applyFiltersToTreeElement):
+        (WebInspector.NavigationSidebarPanel.prototype.show):
+        (WebInspector.NavigationSidebarPanel.prototype._updateContentOverflowShadowVisibility):
+        * UserInterface/Views/ProbeDetailsSidebarPanel.js:
+        (WebInspector.ProbeDetailsSidebarPanel):
+        * UserInterface/Views/RenderingFrameDetailsSidebarPanel.js:
+        * UserInterface/Views/ResourceDetailsSidebarPanel.js:
+        (WebInspector.ResourceDetailsSidebarPanel):
+        * UserInterface/Views/ResourceSidebarPanel.js:
+        (WebInspector.ResourceSidebarPanel):
+        * UserInterface/Views/ScopeChainDetailsSidebarPanel.js:
+        (WebInspector.ScopeChainDetailsSidebarPanel):
+        * UserInterface/Views/SidebarPanel.js:
+        (WebInspector.SidebarPanel):
+        (WebInspector.SidebarPanel.prototype.added):
+        (WebInspector.SidebarPanel.prototype.removed):
+        (WebInspector.SidebarPanel.prototype.visibilityDidChange):
+        * UserInterface/Views/TimelineSidebarPanel.js:
+        (WebInspector.TimelineSidebarPanel):
+        (WebInspector.TimelineSidebarPanel.prototype.showTimelineViewForTimeline):
+
+2015-04-22  Timothy Hatcher  &lt;timothy@apple.com&gt;
+
</ins><span class="cx">         Web Inspector: Remove allowedNavigationSidebarPanels, it isn't needed
</span><span class="cx">         https://bugs.webkit.org/show_bug.cgi?id=144056
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsApplicationCacheDetailsSidebarPaneljs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/ApplicationCacheDetailsSidebarPanel.js (183326 => 183327)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/ApplicationCacheDetailsSidebarPanel.js        2015-04-26 01:17:57 UTC (rev 183326)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/ApplicationCacheDetailsSidebarPanel.js        2015-04-26 01:18:35 UTC (rev 183327)
</span><span class="lines">@@ -27,7 +27,7 @@
</span><span class="cx"> {
</span><span class="cx">     constructor()
</span><span class="cx">     {
</span><del>-        super(&quot;application-cache-details&quot;, WebInspector.UIString(&quot;Storage&quot;), WebInspector.UIString(&quot;Storage&quot;), &quot;Images/NavigationItemStorage.svg&quot;);
</del><ins>+        super(&quot;application-cache-details&quot;, WebInspector.UIString(&quot;Storage&quot;), WebInspector.UIString(&quot;Storage&quot;));
</ins><span class="cx"> 
</span><span class="cx">         this.element.classList.add(&quot;application-cache&quot;);
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsCSSStyleDetailsSidebarPaneljs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/CSSStyleDetailsSidebarPanel.js (183326 => 183327)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/CSSStyleDetailsSidebarPanel.js        2015-04-26 01:17:57 UTC (rev 183326)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/CSSStyleDetailsSidebarPanel.js        2015-04-26 01:18:35 UTC (rev 183327)
</span><span class="lines">@@ -27,7 +27,7 @@
</span><span class="cx"> {
</span><span class="cx">     constructor()
</span><span class="cx">     {
</span><del>-        super(&quot;css-style&quot;, WebInspector.UIString(&quot;Styles&quot;), WebInspector.UIString(&quot;Style&quot;), &quot;Images/NavigationItemBrushAndRuler.svg&quot;, &quot;4&quot;);
</del><ins>+        super(&quot;css-style&quot;, WebInspector.UIString(&quot;Styles&quot;), WebInspector.UIString(&quot;Style&quot;));
</ins><span class="cx"> 
</span><span class="cx">         this._selectedPanel = null;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsDOMDetailsSidebarPaneljs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/DOMDetailsSidebarPanel.js (183326 => 183327)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/DOMDetailsSidebarPanel.js        2015-04-26 01:17:57 UTC (rev 183326)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/DOMDetailsSidebarPanel.js        2015-04-26 01:18:35 UTC (rev 183327)
</span><span class="lines">@@ -25,9 +25,9 @@
</span><span class="cx"> 
</span><span class="cx"> WebInspector.DOMDetailsSidebarPanel = class DOMDetailsSidebarPanel extends WebInspector.DetailsSidebarPanel
</span><span class="cx"> {
</span><del>-    constructor(identifier, displayName, singularDisplayName, image, keyboardShortcutKey, element)
</del><ins>+    constructor(identifier, displayName, singularDisplayName, element)
</ins><span class="cx">     {
</span><del>-        super(identifier, displayName, singularDisplayName, image, keyboardShortcutKey, element);
</del><ins>+        super(identifier, displayName, singularDisplayName, element);
</ins><span class="cx"> 
</span><span class="cx">         this.element.addEventListener(&quot;click&quot;, this._mouseWasClicked.bind(this), true);
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsDOMNodeDetailsSidebarPaneljs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/DOMNodeDetailsSidebarPanel.js (183326 => 183327)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/DOMNodeDetailsSidebarPanel.js        2015-04-26 01:17:57 UTC (rev 183326)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/DOMNodeDetailsSidebarPanel.js        2015-04-26 01:18:35 UTC (rev 183327)
</span><span class="lines">@@ -27,7 +27,7 @@
</span><span class="cx"> {
</span><span class="cx">     constructor()
</span><span class="cx">     {
</span><del>-        super(&quot;dom-node-details&quot;, WebInspector.UIString(&quot;Node&quot;), WebInspector.UIString(&quot;Node&quot;), &quot;Images/NavigationItemAngleBrackets.svg&quot;, &quot;2&quot;);
</del><ins>+        super(&quot;dom-node-details&quot;, WebInspector.UIString(&quot;Node&quot;), WebInspector.UIString(&quot;Node&quot;));
</ins><span class="cx"> 
</span><span class="cx">         WebInspector.domTreeManager.addEventListener(WebInspector.DOMTreeManager.Event.AttributeModified, this._attributesChanged, this);
</span><span class="cx">         WebInspector.domTreeManager.addEventListener(WebInspector.DOMTreeManager.Event.AttributeRemoved, this._attributesChanged, this);
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsDebuggerSidebarPaneljs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/DebuggerSidebarPanel.js (183326 => 183327)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/DebuggerSidebarPanel.js        2015-04-26 01:17:57 UTC (rev 183326)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/DebuggerSidebarPanel.js        2015-04-26 01:18:35 UTC (rev 183327)
</span><span class="lines">@@ -27,7 +27,7 @@
</span><span class="cx"> {
</span><span class="cx">     constructor()
</span><span class="cx">     {
</span><del>-        super(&quot;debugger&quot;, WebInspector.UIString(&quot;Debugger&quot;), &quot;Images/NavigationItemBug.svg&quot;, &quot;3&quot;, true);
</del><ins>+        super(&quot;debugger&quot;, WebInspector.UIString(&quot;Debugger&quot;), true);
</ins><span class="cx"> 
</span><span class="cx">         WebInspector.Frame.addEventListener(WebInspector.Frame.Event.MainResourceDidChange, this._mainResourceChanged, this);
</span><span class="cx">         WebInspector.Frame.addEventListener(WebInspector.Frame.Event.ResourceWasAdded, this._resourceAdded, this);
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsDetailsSidebarPaneljs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/DetailsSidebarPanel.js (183326 => 183327)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/DetailsSidebarPanel.js        2015-04-26 01:17:57 UTC (rev 183326)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/DetailsSidebarPanel.js        2015-04-26 01:18:35 UTC (rev 183327)
</span><span class="lines">@@ -25,26 +25,10 @@
</span><span class="cx"> 
</span><span class="cx"> WebInspector.DetailsSidebarPanel = class DetailsSidebarPanel extends WebInspector.SidebarPanel
</span><span class="cx"> {
</span><del>-    constructor(identifier, displayName, singularDisplayName, image, keyboardShortcutKey, element)
</del><ins>+    constructor(identifier, displayName, singularDisplayName, element)
</ins><span class="cx">     {
</span><del>-        var keyboardShortcut = null;
-        if (keyboardShortcutKey)
-            keyboardShortcut = new WebInspector.KeyboardShortcut(WebInspector.KeyboardShortcut.Modifier.Control | WebInspector.KeyboardShortcut.Modifier.Shift, keyboardShortcutKey);
</del><ins>+        super(identifier, displayName, element);
</ins><span class="cx"> 
</span><del>-        if (keyboardShortcut) {
-            var showToolTip = WebInspector.UIString(&quot;Show the %s details sidebar (%s)&quot;).format(singularDisplayName, keyboardShortcut.displayName);
-            var hideToolTip = WebInspector.UIString(&quot;Hide the %s details sidebar (%s)&quot;).format(singularDisplayName, keyboardShortcut.displayName);
-        } else {
-            var showToolTip = WebInspector.UIString(&quot;Show the %s details sidebar&quot;).format(singularDisplayName);
-            var hideToolTip = WebInspector.UIString(&quot;Hide the %s details sidebar&quot;).format(singularDisplayName);
-        }
-
-        super(identifier, displayName, showToolTip, hideToolTip, image, element);
-
-        this._keyboardShortcut = keyboardShortcut;
-        if (this._keyboardShortcut)
-            this._keyboardShortcut.callback = this.toggle.bind(this);
-
</del><span class="cx">         this.element.classList.add(&quot;details&quot;);
</span><span class="cx">     }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsLayerTreeDetailsSidebarPaneljs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/LayerTreeDetailsSidebarPanel.js (183326 => 183327)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/LayerTreeDetailsSidebarPanel.js        2015-04-26 01:17:57 UTC (rev 183326)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/LayerTreeDetailsSidebarPanel.js        2015-04-26 01:18:35 UTC (rev 183327)
</span><span class="lines">@@ -27,7 +27,7 @@
</span><span class="cx"> {
</span><span class="cx">     constructor()
</span><span class="cx">     {
</span><del>-        super(&quot;layer-tree&quot;, WebInspector.UIString(&quot;Layers&quot;), WebInspector.UIString(&quot;Layer&quot;), &quot;Images/NavigationItemLayers.svg&quot;, &quot;3&quot;);
</del><ins>+        super(&quot;layer-tree&quot;, WebInspector.UIString(&quot;Layers&quot;), WebInspector.UIString(&quot;Layer&quot;));
</ins><span class="cx"> 
</span><span class="cx">         this._dataGridNodesByLayerId = {};
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsNavigationSidebarPaneljs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/NavigationSidebarPanel.js (183326 => 183327)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/NavigationSidebarPanel.js        2015-04-26 01:17:57 UTC (rev 183326)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/NavigationSidebarPanel.js        2015-04-26 01:18:35 UTC (rev 183327)
</span><span class="lines">@@ -25,32 +25,12 @@
</span><span class="cx"> 
</span><span class="cx"> WebInspector.NavigationSidebarPanel = class NavigationSidebarPanel extends WebInspector.SidebarPanel
</span><span class="cx"> {
</span><del>-    constructor(identifier, displayName, image, keyboardShortcutKey, autoPruneOldTopLevelResourceTreeElements, autoHideToolbarItemWhenEmpty, wantsTopOverflowShadow, element, role, label)
</del><ins>+    constructor(identifier, displayName, autoPruneOldTopLevelResourceTreeElements, wantsTopOverflowShadow, element, role, label)
</ins><span class="cx">     {
</span><del>-        var keyboardShortcut = null;
-        if (keyboardShortcutKey)
-            keyboardShortcut = new WebInspector.KeyboardShortcut(WebInspector.KeyboardShortcut.Modifier.Control, keyboardShortcutKey);
</del><ins>+        super(identifier, displayName, element, role, label || displayName);
</ins><span class="cx"> 
</span><del>-        if (keyboardShortcut) {
-            var showToolTip = WebInspector.UIString(&quot;Show the %s navigation sidebar (%s)&quot;).format(displayName, keyboardShortcut.displayName);
-            var hideToolTip = WebInspector.UIString(&quot;Hide the %s navigation sidebar (%s)&quot;).format(displayName, keyboardShortcut.displayName);
-        } else {
-            var showToolTip = WebInspector.UIString(&quot;Show the %s navigation sidebar&quot;).format(displayName);
-            var hideToolTip = WebInspector.UIString(&quot;Hide the %s navigation sidebar&quot;).format(displayName);
-        }
-
-        super(identifier, displayName, showToolTip, hideToolTip, image, element, role, label || displayName);
-
</del><span class="cx">         this.element.classList.add(&quot;navigation&quot;);
</span><span class="cx"> 
</span><del>-        this._keyboardShortcut = keyboardShortcut;
-        this._keyboardShortcut.callback = this.toggle.bind(this);
-
-        this._autoHideToolbarItemWhenEmpty = autoHideToolbarItemWhenEmpty || false;
-
-        if (autoHideToolbarItemWhenEmpty)
-            this.toolbarItem.hidden = true;
-
</del><span class="cx">         this._visibleContentTreeOutlines = new Set;
</span><span class="cx"> 
</span><span class="cx">         this.contentElement.addEventListener(&quot;scroll&quot;, this._updateContentOverflowShadowVisibility.bind(this));
</span><span class="lines">@@ -244,7 +224,7 @@
</span><span class="cx">         this._finalAttemptToRestoreViewStateTimeout = setTimeout(finalAttemptToRestoreViewStateFromCookie.bind(this), relaxedMatchDelay);
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    showEmptyContentPlaceholder(message, hideToolbarItem)
</del><ins>+    showEmptyContentPlaceholder(message)
</ins><span class="cx">     {
</span><span class="cx">         console.assert(message);
</span><span class="cx"> 
</span><span class="lines">@@ -254,8 +234,6 @@
</span><span class="cx">         this._emptyContentPlaceholderMessageElement.textContent = message;
</span><span class="cx">         this.element.appendChild(this._emptyContentPlaceholderElement);
</span><span class="cx"> 
</span><del>-        this._hideToolbarItemWhenEmpty = hideToolbarItem || false;
-        this._updateToolbarItemVisibility();
</del><span class="cx">         this._updateContentOverflowShadowVisibility();
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="lines">@@ -266,15 +244,11 @@
</span><span class="cx"> 
</span><span class="cx">         this._emptyContentPlaceholderElement.parentNode.removeChild(this._emptyContentPlaceholderElement);
</span><span class="cx"> 
</span><del>-        this._hideToolbarItemWhenEmpty = false;
-        this._updateToolbarItemVisibility();
</del><span class="cx">         this._updateContentOverflowShadowVisibility();
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     updateEmptyContentPlaceholder(message)
</span><span class="cx">     {
</span><del>-        this._updateToolbarItemVisibility();
-
</del><span class="cx">         if (!this._contentTreeOutline.children.length) {
</span><span class="cx">             // No tree elements, so no results.
</span><span class="cx">             this.showEmptyContentPlaceholder(message);
</span><span class="lines">@@ -398,29 +372,18 @@
</span><span class="cx">         if (!this.parentSidebar)
</span><span class="cx">             return;
</span><span class="cx"> 
</span><del>-        WebInspector.SidebarPanel.prototype.show.call(this);
</del><ins>+        super.show();
</ins><span class="cx"> 
</span><span class="cx">         this.contentTreeOutlineElement.focus();
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     shown()
</span><span class="cx">     {
</span><del>-        WebInspector.SidebarPanel.prototype.shown.call(this);
</del><ins>+        super.shown();
</ins><span class="cx"> 
</span><span class="cx">         this._updateContentOverflowShadowVisibility();
</span><del>-
-        // Force the navigation item to be visible. This makes sure it is
-        // always visible when the panel is shown.
-        this.toolbarItem.hidden = false;
</del><span class="cx">     }
</span><span class="cx"> 
</span><del>-    hidden()
-    {
-        WebInspector.SidebarPanel.prototype.hidden.call(this);
-
-        this._updateToolbarItemVisibility();
-    }
-
</del><span class="cx">     // Private
</span><span class="cx">     
</span><span class="cx">     _updateContentOverflowShadowVisibilitySoon()
</span><span class="lines">@@ -460,13 +423,6 @@
</span><span class="cx">         this._bottomOverflowShadowElement.style.opacity = (1 - (bottomCoverage / edgeThreshold)).toFixed(1);
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    _updateToolbarItemVisibility()
-    {
-        // Hide the navigation item if requested or auto-hiding and we are not visible and we are empty.
-        var shouldHide = ((this._hideToolbarItemWhenEmpty || this._autoHideToolbarItemWhenEmpty) &amp;&amp; !this.selected &amp;&amp; !this._contentTreeOutline.children.length);
-        this.toolbarItem.hidden = shouldHide;
-    }
-
</del><span class="cx">     _checkForEmptyFilterResults()
</span><span class="cx">     {
</span><span class="cx">         // No tree elements, so don't touch the empty content placeholder.
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsProbeDetailsSidebarPaneljs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/ProbeDetailsSidebarPanel.js (183326 => 183327)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/ProbeDetailsSidebarPanel.js        2015-04-26 01:17:57 UTC (rev 183326)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/ProbeDetailsSidebarPanel.js        2015-04-26 01:18:35 UTC (rev 183327)
</span><span class="lines">@@ -28,7 +28,7 @@
</span><span class="cx"> {
</span><span class="cx">     constructor()
</span><span class="cx">     {
</span><del>-        super(&quot;probe&quot;, WebInspector.UIString(&quot;Probes&quot;), WebInspector.UIString(&quot;Probes&quot;), &quot;Images/NavigationItemProbes.svg&quot;, &quot;6&quot;);
</del><ins>+        super(&quot;probe&quot;, WebInspector.UIString(&quot;Probes&quot;), WebInspector.UIString(&quot;Probes&quot;));
</ins><span class="cx"> 
</span><span class="cx">         WebInspector.probeManager.addEventListener(WebInspector.ProbeManager.Event.ProbeSetAdded, this._probeSetAdded, this);
</span><span class="cx">         WebInspector.probeManager.addEventListener(WebInspector.ProbeManager.Event.ProbeSetRemoved, this._probeSetRemoved, this);
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsRenderingFrameDetailsSidebarPaneljs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/RenderingFrameDetailsSidebarPanel.js (183326 => 183327)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/RenderingFrameDetailsSidebarPanel.js        2015-04-26 01:17:57 UTC (rev 183326)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/RenderingFrameDetailsSidebarPanel.js        2015-04-26 01:18:35 UTC (rev 183327)
</span><span class="lines">@@ -27,7 +27,7 @@
</span><span class="cx"> {
</span><span class="cx">     constructor()
</span><span class="cx">     {
</span><del>-        super(&quot;rendering-frame-details&quot;, WebInspector.UIString(&quot;Frames&quot;), WebInspector.UIString(&quot;Frames&quot;), &quot;Images/NavigationItemDoughnutChart.svg&quot;);
</del><ins>+        super(&quot;rendering-frame-details&quot;, WebInspector.UIString(&quot;Frames&quot;));
</ins><span class="cx"> 
</span><span class="cx">         this._frameRangeRow = new WebInspector.DetailsSectionSimpleRow(WebInspector.UIString(&quot;Frames&quot;));
</span><span class="cx">         this._timeRangeRow = new WebInspector.DetailsSectionSimpleRow(WebInspector.UIString(&quot;Time&quot;));
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsResourceDetailsSidebarPaneljs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/ResourceDetailsSidebarPanel.js (183326 => 183327)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/ResourceDetailsSidebarPanel.js        2015-04-26 01:17:57 UTC (rev 183326)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/ResourceDetailsSidebarPanel.js        2015-04-26 01:18:35 UTC (rev 183327)
</span><span class="lines">@@ -27,7 +27,7 @@
</span><span class="cx"> {
</span><span class="cx">     constructor()
</span><span class="cx">     {
</span><del>-        super(&quot;resource-details&quot;, WebInspector.UIString(&quot;Resource&quot;), WebInspector.UIString(&quot;Resource&quot;), &quot;Images/NavigationItemFile.svg&quot;, &quot;1&quot;);
</del><ins>+        super(&quot;resource-details&quot;, WebInspector.UIString(&quot;Resource&quot;), WebInspector.UIString(&quot;Resource&quot;));
</ins><span class="cx"> 
</span><span class="cx">         this.element.classList.add(&quot;resource&quot;);
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsResourceSidebarPaneljs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/ResourceSidebarPanel.js (183326 => 183327)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/ResourceSidebarPanel.js        2015-04-26 01:17:57 UTC (rev 183326)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/ResourceSidebarPanel.js        2015-04-26 01:18:35 UTC (rev 183327)
</span><span class="lines">@@ -27,7 +27,7 @@
</span><span class="cx"> {
</span><span class="cx">     constructor()
</span><span class="cx">     {
</span><del>-        super(&quot;resource&quot;, WebInspector.UIString(&quot;Resources&quot;), &quot;Images/NavigationItemStorage.svg&quot;, &quot;1&quot;, true, false, true);
</del><ins>+        super(&quot;resource&quot;, WebInspector.UIString(&quot;Resources&quot;), true, true);
</ins><span class="cx"> 
</span><span class="cx">         var searchElement = document.createElement(&quot;div&quot;);
</span><span class="cx">         searchElement.classList.add(&quot;search-bar&quot;);
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsScopeChainDetailsSidebarPaneljs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/ScopeChainDetailsSidebarPanel.js (183326 => 183327)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/ScopeChainDetailsSidebarPanel.js        2015-04-26 01:17:57 UTC (rev 183326)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/ScopeChainDetailsSidebarPanel.js        2015-04-26 01:18:35 UTC (rev 183327)
</span><span class="lines">@@ -27,7 +27,7 @@
</span><span class="cx"> {
</span><span class="cx">     constructor()
</span><span class="cx">     {
</span><del>-        super(&quot;scope-chain&quot;, WebInspector.UIString(&quot;Scope Chain&quot;), WebInspector.UIString(&quot;Scope Chain&quot;), &quot;Images/NavigationItemVariable.svg&quot;, &quot;5&quot;);
</del><ins>+        super(&quot;scope-chain&quot;, WebInspector.UIString(&quot;Scope Chain&quot;), WebInspector.UIString(&quot;Scope Chain&quot;));
</ins><span class="cx"> 
</span><span class="cx">         this._callFrame = null;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsSidebarPaneljs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/SidebarPanel.js (183326 => 183327)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/SidebarPanel.js        2015-04-26 01:17:57 UTC (rev 183326)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/SidebarPanel.js        2015-04-26 01:18:35 UTC (rev 183327)
</span><span class="lines">@@ -25,16 +25,12 @@
</span><span class="cx"> 
</span><span class="cx"> WebInspector.SidebarPanel = class SidebarPanel extends WebInspector.Object
</span><span class="cx"> {
</span><del>-    constructor(identifier, displayName, showToolTip, hideToolTip, image, element, role, label)
</del><ins>+    constructor(identifier, displayName, element, role, label)
</ins><span class="cx">     {
</span><span class="cx">         super();
</span><span class="cx"> 
</span><span class="cx">         this._identifier = identifier;
</span><span class="cx"> 
</span><del>-        this._toolbarItem = new WebInspector.ActivateButtonToolbarItem(identifier, showToolTip, hideToolTip, displayName, image, null, &quot;tab&quot;);
-        this._toolbarItem.addEventListener(WebInspector.ButtonNavigationItem.Event.Clicked, this.toggle, this);
-        this._toolbarItem.enabled = false;
-
</del><span class="cx">         this._element = element || document.createElement(&quot;div&quot;);
</span><span class="cx">         this._element.classList.add(&quot;panel&quot;, identifier);
</span><span class="cx"> 
</span><span class="lines">@@ -53,11 +49,6 @@
</span><span class="cx">         return this._identifier;
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    get toolbarItem()
-    {
-        return this._toolbarItem;
-    }
-
</del><span class="cx">     get element()
</span><span class="cx">     {
</span><span class="cx">         return this._element;
</span><span class="lines">@@ -120,15 +111,15 @@
</span><span class="cx">     added()
</span><span class="cx">     {
</span><span class="cx">         console.assert(this._parentSidebar);
</span><del>-        this._toolbarItem.enabled = true;
-        this._toolbarItem.activated = this.visible;
</del><ins>+
+        // Implemented by subclasses.
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     removed()
</span><span class="cx">     {
</span><span class="cx">         console.assert(!this._parentSidebar);
</span><del>-        this._toolbarItem.enabled = false;
-        this._toolbarItem.activated = false;
</del><ins>+
+        // Implemented by subclasses.
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     willRemove()
</span><span class="lines">@@ -153,7 +144,7 @@
</span><span class="cx"> 
</span><span class="cx">     visibilityDidChange()
</span><span class="cx">     {
</span><del>-        this._toolbarItem.activated = this.visible;
</del><ins>+        // Implemented by subclasses.
</ins><span class="cx">     }
</span><span class="cx"> };
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceViewsTimelineSidebarPaneljs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/Views/TimelineSidebarPanel.js (183326 => 183327)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/Views/TimelineSidebarPanel.js        2015-04-26 01:17:57 UTC (rev 183326)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/TimelineSidebarPanel.js        2015-04-26 01:18:35 UTC (rev 183327)
</span><span class="lines">@@ -27,7 +27,7 @@
</span><span class="cx"> {
</span><span class="cx">     constructor()
</span><span class="cx">     {
</span><del>-        super(&quot;timeline&quot;, WebInspector.UIString(&quot;Timelines&quot;), &quot;Images/NavigationItemStopwatch.svg&quot;, &quot;2&quot;);
</del><ins>+        super(&quot;timeline&quot;, WebInspector.UIString(&quot;Timelines&quot;));
</ins><span class="cx"> 
</span><span class="cx">         this._timelineEventsTitleBarElement = document.createElement(&quot;div&quot;);
</span><span class="cx">         this._timelineEventsTitleBarElement.classList.add(WebInspector.TimelineSidebarPanel.TitleBarStyleClass);
</span><span class="lines">@@ -129,7 +129,7 @@
</span><span class="cx"> 
</span><span class="cx">     shown()
</span><span class="cx">     {
</span><del>-        WebInspector.NavigationSidebarPanel.prototype.shown.call(this);
</del><ins>+        super.shown();
</ins><span class="cx"> 
</span><span class="cx">         if (this._displayedContentView)
</span><span class="cx">             WebInspector.contentBrowser.showContentView(this._displayedContentView);
</span><span class="lines">@@ -254,7 +254,7 @@
</span><span class="cx"> 
</span><span class="cx">     updateFilter()
</span><span class="cx">     {
</span><del>-        WebInspector.NavigationSidebarPanel.prototype.updateFilter.call(this);
</del><ins>+        super.updateFilter();
</ins><span class="cx"> 
</span><span class="cx">         this._displayedContentView.filterDidChange();
</span><span class="cx">     }
</span></span></pre>
</div>
</div>

</body>
</html>