• mjs's avatar
    WebCore: · 4b76feb4
    mjs authored
            Reviewed by Vicki.
    
            - moved frame traversal code across from bridge, also dropped the children
    	array
    
            * kwq/WebCoreBridge.h:
            * kwq/WebCoreBridge.mm:
            (-[WebCoreBridge firstChild]): Moved from WebBridge. Use new _firstChild
    	pointer.
            (-[WebCoreBridge lastChild]): Moved from WebBridge. Use new _lastChild pointer.
            (-[WebCoreBridge childCount]): Moved from WebBridge. Use _childCount variable.
            (-[WebCoreBridge previousSibling]): Moved from WebBridge.
            (-[WebCoreBridge nextSibling]): ditt
            (-[WebCoreBridge isDescendantOfFrame:]): ditto
            (-[WebCoreBridge traverseNextFrameStayWithin:]): ditto
            (-[WebCoreBridge appendChild:]): Moved from WebBridge, maintain count and first/last
    	pointers.
            (-[WebCoreBridge removeChild:]): Moved from WebBridge, maintain count and first/last
    	pointers.
    
    WebKit:
    
            Reviewed by Vicki.
    
            - moved frame traversal code across from bridge, also dropped the children
    	array
    
            * WebCoreSupport.subproj/WebBridge.h:
            * WebCoreSupport.subproj/WebBridge.m:
            (-[WebBridge dealloc]): Don't release children array, that was moved
    	down to WebCore.
            (-[WebBridge saveDocumentState:]):
    	- many methods moved to WebCore.
            * WebView.subproj/WebFrame.m:
            (Frame): New convenience method to get a WebFrame * from a method that
    	returns WebCoreBridge *.
            (-[WebFrame _firstChildFrame]): use Frame()
            (-[WebFrame _lastChildFrame]): ditto
            (-[WebFrame _previousSiblingFrame]): ditto
            (-[WebFrame _nextSiblingFrame]): ditto
            (-[WebFrame _traverseNextFrameStayWithin:]): ditto
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11868 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    4b76feb4
ChangeLog 92.1 KB