Factored most of SourceView out into SourceFrame so it can be shared
authortimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 13 May 2008 22:30:05 +0000 (22:30 +0000)
committertimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 13 May 2008 22:30:05 +0000 (22:30 +0000)
commit5baf8296a6f7b255b2dbcd795d2dab5e10e26f04
tree4134c8bf2b204557642460a8d9c1d630a9bfabd6
parent9a3d08c464342f87978451ac6d231080f129b7a0
Factored most of SourceView out into SourceFrame so it can be shared
by the new ScriptView. Added the ScriptView class to be used for
scripts that arn't Resources (like eval code.) Added a simple Script
object that hold the data from the debugger parsedSource hooks. A
ScriptView holds a Script object, and uses it for source data.

Added breakpoint and execution line support to the SourceFrame
where they are visually represented in the source.

Reviewed by Kevin McCullough.

* page/inspector/inspector.js:
(WebInspector.performSearch): Change the caller of sourceFrameForResource
to use the SourceFrame result's element property.
* page/inspector/ResourcesPanel.js: Use the new SourceFrame.
* page/inspector/Script.js: Added.
* page/inspector/ScriptView.js: Added.
* page/inspector/SourceFrame.js: Added.
* page/inspector/SourceView.js: Use the new SourceFrame.
* WebCore.vcproj/WebCore.vcproj: Add new files.
* page/inspector/WebKit.qrc: Ditto.
* page/inspector/inspector.html: Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@33408 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/WebCore.vcproj/WebCore.vcproj
WebCore/page/inspector/ResourcesPanel.js
WebCore/page/inspector/Script.js [new file with mode: 0644]
WebCore/page/inspector/ScriptView.js [new file with mode: 0644]
WebCore/page/inspector/SourceFrame.js [new file with mode: 0644]
WebCore/page/inspector/SourceView.js
WebCore/page/inspector/WebKit.qrc
WebCore/page/inspector/inspector.html
WebCore/page/inspector/inspector.js