Add a tools menu item that allows the user to show/hide inspector panels on the toolbar.
Created attachment 193299 [details] Patch
Screenshot?
Comment on attachment 193299 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=193299&action=review > Source/WebCore/inspector/front-end/Toolbar.js:131 > + count += this._isPanelVisible(this._panelDescriptors[i].name()) ? 1 : 0; if (this._isPanelVisible(this._panelDescriptors[i].name())) ++count; > Source/WebCore/inspector/front-end/Toolbar.js:153 > + var index = this._panelDescriptors.indexOf(panelDescriptor); var index = ... + 1 > Source/WebCore/inspector/front-end/inspector.css:286 > + font-weight: bold; Consider sharing common properties with #toolbar-dropdown-arrow > Source/WebCore/inspector/front-end/inspector.js:48 > + var allDescriptors = [elements, console, network, scripts, timeline, profiles, audits, resources]; Do it in a separate change please.
Created attachment 193330 [details] screenshot
Created attachment 193339 [details] Patch
Comment on attachment 193299 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=193299&action=review >> Source/WebCore/inspector/front-end/Toolbar.js:131 >> + count += this._isPanelVisible(this._panelDescriptors[i].name()) ? 1 : 0; > > if (this._isPanelVisible(this._panelDescriptors[i].name())) > ++count; ok >> Source/WebCore/inspector/front-end/Toolbar.js:153 >> + var index = this._panelDescriptors.indexOf(panelDescriptor); > > var index = ... + 1 rewrote this part >> Source/WebCore/inspector/front-end/inspector.css:286 >> + font-weight: bold; > > Consider sharing common properties with #toolbar-dropdown-arrow I'll think about it. >> Source/WebCore/inspector/front-end/inspector.js:48 >> + var allDescriptors = [elements, console, network, scripts, timeline, profiles, audits, resources]; > > Do it in a separate change please. sure.
Comment on attachment 193339 [details] Patch Clearing flags on attachment: 193339 Committed r146319: <http://trac.webkit.org/changeset/146319>
All reviewed patches have been landed. Closing bug.