Add support for changing the sort order of the resources. The two sorting
authortimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 14 Apr 2008 17:05:29 +0000 (17:05 +0000)
committertimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 14 Apr 2008 17:05:29 +0000 (17:05 +0000)
commit18cbeec3cd0bc7685b330594f19981c97c5bc9f4
treefc595358f31a8066ea83b071ad334ae438c17e26
parent53de64e23ece2481b3629612b03b1c6cedd4b21f
Add support for changing the sort order of the resources. The two sorting
methods supported current are Time and Size.

Reviewed by Adam Roben.

* page/inspector/Images/statusbarMenuButton.png: Added.
* page/inspector/Images/statusbarMenuButtonSelected.png: Added.
* page/inspector/ResourcesPanel.js:
(WebInspector.ResourcesPanel): Create the status bar menu button and
setup the event listener to call _changeSortingFunction. Each option in
the select references a sorting function.
(WebInspector.ResourcesPanel.get statusBarItems): Add the sorting menu to the
items returned.
(WebInspector.ResourcesPanel._changeSortingFunction): Set the sorting function
to the selected option's function in the sorting menu.
* page/inspector/inspector.css: Added CSS rules for select elements in status bars.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@31867 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/page/inspector/Images/statusbarMenuButton.png [new file with mode: 0644]
WebCore/page/inspector/Images/statusbarMenuButtonSelected.png [new file with mode: 0644]
WebCore/page/inspector/ResourcesPanel.js
WebCore/page/inspector/inspector.css