WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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
Details
Formatted Diff
Diff
screenshot
(11.77 KB, image/png)
2013-03-15 10:24 PDT
,
Alexei Filippov
no flags
Details
Patch
(11.01 KB, patch)
2013-03-15 11:01 PDT
,
Alexei Filippov
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Alexei Filippov
Comment 1
2013-03-15 06:44:57 PDT
Created
attachment 193299
[details]
Patch
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
Created
attachment 193339
[details]
Patch
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.
Top of Page
Format For Printing
XML
Clone This Bug