Skip to content
  • kocienda's avatar
    WebCore: · 03a86c79
    kocienda authored
            Reviewed by Chris
    
            * WebCore.pbproj/project.pbxproj:
            * khtml/xml/dom2_rangeimpl.h: Now includes createInstance glue function as do the other
            khtml DOM objects that we reflect into ObjC.
            * kwq/DOM-compat.h: Added. Compatibility declarations for DOM SPI. Note that this file
            is copied into WebKit by the build system as needed.
            * kwq/DOM.h: Added. New home for DOM SPI. Note that this file is copied into WebKit by the build
            system as needed.
            * kwq/KWQKHTMLPart.mm:
            (KWQKHTMLPart::recordFormValue): Updated usage to new DOM SPI.
            * kwq/WebCoreBridge.h: Updated usage to new DOM SPI.
            * kwq/WebCoreBridge.mm: Updated usage to new DOM SPI. Needed to add DOM range impl include since
            includes jiggered around and this needed header was no longer included indirectly.
            (-[WebCoreBridge elementForView:]): Ditto.
            (inputElementFromDOMElement): Ditto.
            (formElementFromDOMElement): Ditto.
            (-[WebCoreBridge elementWithName:inForm:]): Ditto.
            (-[WebCoreBridge elementDoesAutoComplete:]): Ditto.
            (-[WebCoreBridge elementIsPassword:]): Ditto.
            (-[WebCoreBridge currentForm]): Ditto.
            (-[WebCoreBridge controlsInForm:]): Ditto.
            (-[WebCoreBridge searchForLabels:beforeElement:]): Ditto.
            (-[WebCoreBridge matchLabels:againstElement:]): Ditto.
            (-[WebCoreBridge elementAtPoint:]): Ditto.
            (-[WebCoreBridge DOMDocument]): Ditto.
            (-[WebCoreBridge setSelectionFrom:startOffset:to:endOffset:]): Ditto.
            (-[WebCoreBridge attributedStringFrom:startOffset:to:endOffset:]): Ditto.
            (-[WebCoreBridge selectionStart]): Ditto.
            (-[WebCoreBridge selectionEnd]): Ditto.
            * kwq/WebCoreDOM.h: New home for all private declarations needed for reflecting DOM into ObjC.
            * kwq/WebCoreDOM.mm: Added. New home for all implementations needed for reflecting DOM into ObjC.
            * kwq/WebCoreDOMDocument.mm: Removed. All ObjC DOM implementation now in WebCoreDOM.mm.
            * kwq/WebCoreDOMNode.mm: Removed. All ObjC DOM implementation now in WebCoreDOM.mm.
            * kwq/WebCoreDOMPrivate.h: Removed.
            * kwq/WebDOMDocument.h: Removed.
            * kwq/WebDOMElement.h: Removed.
            * kwq/WebDOMNode.h: Removed.
    
    WebKit:
    
            Reviewed by Chris
    
            Updated usage of DOM SPI to use new names and conventions.
    
            Unless indicated otherwise, the changes were to update protocol names for, which
            changed from using a "WebDOM" prefix to a "DOM" prefix, and changing now need
            only include the DOM.h header from WebKit to get everything.
    
            * DOM.subproj/DOM-compat.h: Added. This header contains some compatibility declarations
            to work with older clients of our DOM SPI. Though this file is checked into WebKit,
            it really lives and should be updated in WebCore. It is copied into WebKit by the build
            system as needed.
            * DOM.subproj/DOM.h: Added. This file includes the new "guts" of the DOM SPI. As above,
            this file is checked into WebKit, it really lives and should be updated in WebCore.
            It is copied into WebKit by the build system as needed.
            * DOM.subproj/WebDOMDocument.h: Removed declarations. Now just includes DOM.h and DOM-compat.h
            * DOM.subproj/WebDOMDocument.m: Removed.
            * DOM.subproj/WebDOMElement.h: Removed declarations. Now just includes DOM.h and DOM-compat.h
            * DOM.subproj/WebDOMElement.m: Removed.
            * DOM.subproj/WebDOMNode.h: Removed declarations. Now just includes DOM.h and DOM-compat.h
            * DOM.subproj/WebDOMNode.m: Removed.
            * WebCoreSupport.subproj/WebBridge.m:
            (-[WebBridge loadURL:referrer:reload:onLoadEvent:target:triggeringEvent:form:formValues:])
            (-[WebBridge postWithURL:referrer:target:data:contentType:triggeringEvent:form:formValues:])
            * WebKit.pbproj/project.pbxproj:
            * WebView.subproj/WebDefaultContextMenuDelegate.m:
            * WebView.subproj/WebFormDelegate.h:
            * WebView.subproj/WebFormDelegate.m:
            (-[WebFormDelegate frame:sourceFrame:willSubmitForm:withValues:submissionListener:])
            * WebView.subproj/WebFrame.h: Unrelated change. Removed -undoManager accessor from public header. Moved to private header.
            * WebView.subproj/WebFrame.m:
            (-[WebFrame _loadURL:referrer:loadType:target:triggeringEvent:form:formValues:])
            (-[WebFrame _postWithURL:referrer:target:data:contentType:triggeringEvent:form:formValues:])
            (-[WebFrame undoManager]): Moved -undoManager accessor to private category implementation.
            (-[WebFormState initWithForm:values:sourceFrame:])
            (-[WebFormState form])
            (-[WebFrame childFrames])
            * WebView.subproj/WebFramePrivate.h: Moved in -undoManager accessor.
            * WebView.subproj/WebHTMLRepresentation.h:
            * WebView.subproj/WebHTMLRepresentation.m:
            (-[WebHTMLRepresentation DOMDocument])
            (-[WebHTMLRepresentation setSelectionFrom:startOffset:to:endOffset:])
            (-[WebHTMLRepresentation attributedStringFrom:startOffset:to:endOffset:])
            (-[WebHTMLRepresentation elementWithName:inForm:])
            (-[WebHTMLRepresentation elementForView:])
            (-[WebHTMLRepresentation elementDoesAutoComplete:])
            (-[WebHTMLRepresentation elementIsPassword:])
            (-[WebHTMLRepresentation formForElement:])
            (-[WebHTMLRepresentation controlsInForm:])
            (-[WebHTMLRepresentation searchForLabels:beforeElement:])
            (-[WebHTMLRepresentation matchLabels:againstElement:])
            * WebView.subproj/WebHTMLView.m:
            * copy-webcore-files-to-webkit: Added. Copies DOM.h and DOM-compat.h from WebCore when they
            have been updated there.
    
    WebBrowser:
    
            Reviewed by Chris
    
            Updated usage of DOM SPI to use new names and conventions.
    
            In each case, protocol names for DOM objects were changed from using a
            "WebDOM" prefix to a "DOM" prefix, and clients now need only include the
            DOM.h header from WebKit to get everything.
    
            * BrowserWebController.m:
            (-[FormDelegate frame:sourceFrame:willSubmitForm:withValues:submissionListener:])
            * Debug/SnippetController.m:
            (lastNode)
            (-[SnippetController loadComplete])
            * FormCompletionController.h:
            * FormCompletionController.m:
            (+[FormCompletionController loginInfoForForm:inFrame:])
            (+[FormCompletionController _frame:sourceFrame:willSubmitLoginForm:withValues:formInfo:submissionListener:])
            (+[FormCompletionController _frame:sourceFrame:willSubmitRegularForm:withValues:])
            (+[FormCompletionController frame:sourceFrame:willSubmitForm:withValues:submissionListener:])
            (+[FormCompletionController currentFormInFrame:])
            (+[FormCompletionController currentFrameAndForm:inWebView:])
            (+[FormCompletionController autoFillInWebView:])
            (+[FormCompletionController autoFillPasswordInFrame:])
            (-[FormCompletionController initWithSourceField:frame:])
            (-[FormCompletionController maxStringLength])
            (+[AutoFillController autoFillerForFrame:form:create:])
            (+[AutoFillController abMatchInFrame:form:fieldName:])
            (+[AutoFillController recordABMatch:inFrame:form:fieldName:])
            (+[AutoFillController clearAutoFilledView:inFrame:form:])
            (-[AutoFillController _fieldNameForAutoFillOfView:rep:])
            (-[FormToABBinder abPointerForFieldName:view:rep:foundByPageScan:])
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@6117 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    03a86c79