Move -functionName from WebCoreScriptCallFrame to WebScriptCallFrame
authoraroben@apple.com <aroben@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 5 Mar 2008 19:34:13 +0000 (19:34 +0000)
committeraroben@apple.com <aroben@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 5 Mar 2008 19:34:13 +0000 (19:34 +0000)
commitc5b60b913b7e3fc3b52698b1727df899ed8f07b6
tree5c0f0579d863181dc3b15963e914afae43026fdc
parent7626834bfef8a5d8bffbebd9cba7b20d838fc3bb
     Move -functionName from WebCoreScriptCallFrame to WebScriptCallFrame

         Reviewed by Darin.

         * WebView/WebCoreScriptDebugger.h:
           - Removed #else case of #ifdef __cplusplus since this file is only
             ever used by C++ Objective-C files
           - Removed 'using KJS::ExecState' statement since we prefer not to
             have using statements in header files
           - Consequently prefixed uses of ExecState with KJS::
           - Added declaration of toNSString method that takes a const
             UString&
           - Added declaration of -[WebCoreScriptCallFrame state]
           - Removed declaration of -[WebCoreScriptCallFrame functionName]
         * WebView/WebCoreScriptDebugger.mm:
         (toNSString): Made this no longer static.
         (-[WebCoreScriptCallFrame state]): Added.
         * WebView/WebScriptDebugDelegate.mm:
         (-[WebScriptCallFrame functionName]): Added. Code came from
         -[WebCoreScriptCallFrame functionName], though I changed some nested
         ifs into early returns.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@30802 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKit/mac/ChangeLog
WebKit/mac/WebView/WebCoreScriptDebugger.h
WebKit/mac/WebView/WebCoreScriptDebugger.mm
WebKit/mac/WebView/WebScriptDebugDelegate.mm