Add support for toggling between small and large resource rows
authortimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 14 Apr 2008 17:05:19 +0000 (17:05 +0000)
committertimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 14 Apr 2008 17:05:19 +0000 (17:05 +0000)
commit53de64e23ece2481b3629612b03b1c6cedd4b21f
tree6e4e3aaa1e7e62110b3a0a74214de2ed0fb08bbf
parenta719b893b55abdec85aee9442341a00e6ad02716
Add support for toggling between small and large resource rows

in the Resources panel.

Reviewed by Adam Roben.

* English.lproj/InspectorLocalizedStrings.js: Added new tooltip string.
* page/inspector/Images/largerResourcesButtons.png: Added.
* page/inspector/Images/resourceDocumentIconSmall.png: Added.
* page/inspector/Images/resourcePlainIconSmall.png: Added.
* page/inspector/ResourcesPanel.js:
(WebInspector.ResourcesPanel): Create the status bar button and
setup the event listener to call _toggleLargerResources.
(WebInspector.ResourcesPanel.get statusBarItems): Return the status bar button.
(WebInspector.ResourcesPanel._toggleLargerResources): Toggle the class names
for the resources children list and the status bar button.
* page/inspector/inspector.css: New style rules for small resources
and the status bar item.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@31866 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/English.lproj/InspectorLocalizedStrings.js
WebCore/page/inspector/Images/largerResourcesButtons.png [new file with mode: 0644]
WebCore/page/inspector/Images/resourceDocumentIconSmall.png [new file with mode: 0644]
WebCore/page/inspector/Images/resourcePlainIconSmall.png [new file with mode: 0644]
WebCore/page/inspector/ResourcesPanel.js
WebCore/page/inspector/inspector.css