Adds a DataGrid object that is used for multi-column data
authortimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 20 May 2008 13:57:27 +0000 (13:57 +0000)
committertimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 20 May 2008 13:57:27 +0000 (13:57 +0000)
commit0c179c75f5d54ce4da82154fe3d3bf1c7963795a
treeeac7bb553fbc04ae78164a874897addc61547450
parent7e2b10bf3ba3380faaf208a8fffbd3c024dc084f
Adds a DataGrid object that is used for multi-column data
and can contain hierarchical content with disclosure arrows.
A lot of DataGrid was copied from treeoutline.js. This change
makes the database views use the DataGrid. It will later be
used by the ProfileView.

Reviewed by Adam Roben.

* page/inspector/DataGrid.js: Added. Most copied from treeoutline.js
and modified to work with table elements.
* page/inspector/DatabaseQueryView.js:
(WebInspector.DatabaseQueryView.prototype._queryFinished):
Call DatabasesPanel.dataGridForResult and adds the inline style to
the DataGrid element.
* page/inspector/DatabaseTableView.js:
(WebInspector.DatabaseTableView.prototype._queryFinished):
Call DatabasesPanel.dataGridForResult.
* page/inspector/DatabasesPanel.js:
(WebInspector.DatabasesPanel.prototype._tableForResult): Removed.
(WebInspector.DatabasesPanel.prototype.dataGridForResult): Added.
Similar to the previous _tableForResult function, but makes a DataGrid.
* page/inspector/inspector.css: Changes to the data-grid
style rules.
* WebCore.vcproj/WebCore.vcproj: Add DataGrid.js.
* page/inspector/WebKit.qrc: Ditto.
* page/inspector/inspector.html: Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@33927 268f45cc-cd09-0410-ab3c-d52691b4dbfc
14 files changed:
WebCore/ChangeLog
WebCore/WebCore.vcproj/WebCore.vcproj
WebCore/page/inspector/DataGrid.js [new file with mode: 0644]
WebCore/page/inspector/DatabaseQueryView.js
WebCore/page/inspector/DatabaseTableView.js
WebCore/page/inspector/DatabasesPanel.js
WebCore/page/inspector/Images/glossyHeader.png
WebCore/page/inspector/Images/glossyHeaderPressed.png
WebCore/page/inspector/Images/glossyHeaderSelected.png [new file with mode: 0644]
WebCore/page/inspector/Images/glossyHeaderSelectedPressed.png [new file with mode: 0644]
WebCore/page/inspector/Images/glossySelected.png [deleted file]
WebCore/page/inspector/WebKit.qrc
WebCore/page/inspector/inspector.css
WebCore/page/inspector/inspector.html