Move -_enterFrame and -_leaveFrame from WebCoreScriptDebugger to WebScriptDeb...
[WebKit-https.git] / WebKit / mac / ChangeLog
index c4fe08a21e022a29db8d0e720fe1cd0d760d5d2f..a9934a8122c1d9bee9e46260e14b47811b415860 100644 (file)
@@ -1,3 +1,25 @@
+2008-03-05  Adam Roben  <aroben@apple.com>
+
+        Move -_enterFrame and -_leaveFrame from WebCoreScriptDebugger to WebScriptDebugger
+
+        Reviewed by Kevin M.
+
+        * WebView/WebCoreScriptDebugger.h:
+          - Removed newFrameWithGlobalObject:caller:state: from
+            WebScriptDebugger protocol
+          - Added enterFrame: and leaveFrame: to WebScriptDebugger protocol
+          - Removed _current ivar from WebCoreScriptDebugger
+        * WebView/WebCoreScriptDebugger.mm:
+        (WebCoreScriptDebuggerImp::callEvent): Changed to call enterFrame on
+        the delegate.
+        (WebCoreScriptDebuggerImp::returnEvent): Ditto for leaveFrame.
+        * WebView/WebScriptDebugDelegate.mm:
+        (-[WebScriptDebugger dealloc]): Added code to release _current.
+        (-[WebScriptDebugger enterFrame:]): Added. Code came from
+        WebCoreScriptDebugger.
+        (-[WebScriptDebugger leaveFrame]): Ditto.
+        * WebView/WebScriptDebugDelegatePrivate.h: Added _current ivar.
+
 2008-03-05  Adam Roben  <aroben@apple.com>
 
         Remove WebCoreScriptCallFrame