RESOLVED FIXED 112440
Web Inspector: Allow toolbar customization
https://bugs.webkit.org/show_bug.cgi?id=112440
Summary Web Inspector: Allow toolbar customization
Alexei Filippov
Reported 2013-03-15 06:22:59 PDT
Add a tools menu item that allows the user to show/hide inspector panels on the toolbar.
Attachments
Patch (12.37 KB, patch)
2013-03-15 06:44 PDT, Alexei Filippov
no flags
screenshot (11.77 KB, image/png)
2013-03-15 10:24 PDT, Alexei Filippov
no flags
Patch (11.01 KB, patch)
2013-03-15 11:01 PDT, Alexei Filippov
no flags
Alexei Filippov
Comment 1 2013-03-15 06:44:57 PDT
Yury Semikhatsky
Comment 2 2013-03-15 09:14:52 PDT
Screenshot?
Yury Semikhatsky
Comment 3 2013-03-15 09:29:33 PDT
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.
Alexei Filippov
Comment 4 2013-03-15 10:24:07 PDT
Created attachment 193330 [details] screenshot
Alexei Filippov
Comment 5 2013-03-15 11:01:10 PDT
Alexei Filippov
Comment 6 2013-03-15 11:05:33 PDT
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.
WebKit Review Bot
Comment 7 2013-03-20 03:03:30 PDT
Comment on attachment 193339 [details] Patch Clearing flags on attachment: 193339 Committed r146319: <http://trac.webkit.org/changeset/146319>
WebKit Review Bot
Comment 8 2013-03-20 03:03:34 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.