WebCore:
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 13 Oct 2006 17:07:20 +0000 (17:07 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 13 Oct 2006 17:07:20 +0000 (17:07 +0000)
commit519b57cbb082658e238b6ff154e6a09c7e616b87
treed75b44c7613262834b041b682a0915a5b1f99e8a
parent7c5b5207e6e828e3558392c8f7c55436447e583f
WebCore:

        Reviewed by Adele.

        - converted WebFormState from Objective-C to C++

        * WebCore.exp: Added a new symbol, changed one symbol from C to C++.

        * WebCore.xcodeproj/project.pbxproj: Made lots of headers "private" instead of "project".
        Added UChar.h and FrameLoaderTypes.h.

        * loader/FrameLoaderTypes.h: Added. Has enums from WebFrameLoader.h.

        * loader/mac/WebFormState.h: Converted class to C++.
        * loader/mac/WebFormState.mm: Ditto.

        * loader/mac/WebFrameLoader.h:
        * loader/mac/WebFrameLoader.mm:
        (-[WebFrameLoader loadURL:referrer:loadType:target:triggeringEvent:form:formValues:]):
        (-[WebFrameLoader continueFragmentScrollAfterNavigationPolicy:formState:]):
        (-[WebFrameLoader _loadRequest:triggeringAction:loadType:formState:]):
        (-[WebFrameLoader invalidatePendingPolicyDecisionCallingDefaultAction:]):
        (-[WebFrameLoader checkNewWindowPolicyForRequest:action:frameName:formState:andCall:withSelector:]):
        (-[WebFrameLoader continueAfterNewWindowPolicy:]):
        (-[WebFrameLoader checkNavigationPolicyForRequest:documentLoader:formState:andCall:withSelector:]):
        (-[WebFrameLoader continueAfterNavigationPolicy:]):
        (-[WebFrameLoader continueLoadRequestAfterNavigationPolicy:formState:]):
        (-[WebFrameLoader loadDocumentLoader:withLoadType:formState:]):
        (-[WebFrameLoader continueLoadRequestAfterNewWindowPolicy:frameName:formState:]):
        (-[WebFrameLoader postWithURL:referrer:target:data:contentType:triggeringEvent:form:formValues:]):
        Changed Objective-C WebFormState uses to C++ WebCore::FormState.

WebKit:

        Reviewed by Adele.

        - converted WebFormState from Objective-C to C++

        * ForwardingHeaders: Added an entire copy of WebCore's forwarding headers here.
        We should eventually come up with a more-elegant solution.

        * WebKit.xcodeproj/project.pbxproj: Added ForwardingHeaders to the include paths.
        Converted many files from Objective-C to Objective-C++. In a later check-in, I'll
        rename them to .mm instead of .m. Removed C-only warning options for now. In a
        later check-in I will add these back in a way that omits them for C++.

        * Plugins/WebPluginContainerCheck.m: Updated for header changes.

        * WebView/WebFrameInternal.h: Updated for header changes. Removed WebFrameLoaderClient category
        so this file can still be used by Objective-C code (not just Objective-C++).

        * WebView/WebFrame.m: Put WebFrameLoaderClient category in here.
        (-[WebFrame _loadItem:withLoadType:]): Changed to use 0 instead of nil for FormState and fixed
        enum code for C++ compatibility.
        (-[WebFrame _initWithWebFrameView:webView:bridge:]): Added call to setFrameLoaderClient: here.
        (-[WebFrame _updateHistoryForCommit]): Fixed enum code for C++ compatibility.
        (-[WebFrame _updateHistoryForReload]): Ditto.

        * WebCoreSupport/WebFrameBridge.m:
        (-[WebFrameBridge initMainFrameWithPage:frameName:view:]): Removed call to setFrameLoaderClient:.
        (-[WebFrameBridge initSubframeWithOwnerElement:frameName:view:]): Ditto.
        (-[WebFrameBridge _retrieveKeyboardUIModeFromPreferences:]): Fixed enum code for C++ compatibility.
        (-[WebFrameBridge runModal]): Changed code to not use "namespace" as a local variable name.

        * WebView/WebPDFView.m: Added extern "C" so this can compile as Objective-C++.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@17029 268f45cc-cd09-0410-ab3c-d52691b4dbfc
45 files changed:
WebCore/ChangeLog
WebCore/WebCore.exp
WebCore/WebCore.xcodeproj/project.pbxproj
WebCore/loader/FrameLoaderTypes.h [new file with mode: 0644]
WebCore/loader/mac/WebFormState.h
WebCore/loader/mac/WebFormState.mm
WebCore/loader/mac/WebFrameLoader.h
WebCore/loader/mac/WebFrameLoader.mm
WebKit/ChangeLog
WebKit/ForwardingHeaders/kjs/JSLock.h [new file with mode: 0644]
WebKit/ForwardingHeaders/kjs/SavedBuiltins.h [new file with mode: 0644]
WebKit/ForwardingHeaders/kjs/collector.h [new file with mode: 0644]
WebKit/ForwardingHeaders/kjs/dtoa.h [new file with mode: 0644]
WebKit/ForwardingHeaders/kjs/identifier.h [new file with mode: 0644]
WebKit/ForwardingHeaders/kjs/internal.h [new file with mode: 0644]
WebKit/ForwardingHeaders/kjs/interpreter.h [new file with mode: 0644]
WebKit/ForwardingHeaders/kjs/lookup.h [new file with mode: 0644]
WebKit/ForwardingHeaders/kjs/object.h [new file with mode: 0644]
WebKit/ForwardingHeaders/kjs/operations.h [new file with mode: 0644]
WebKit/ForwardingHeaders/kjs/protect.h [new file with mode: 0644]
WebKit/ForwardingHeaders/kjs/string_object.h [new file with mode: 0644]
WebKit/ForwardingHeaders/pcre/pcre.h [new file with mode: 0644]
WebKit/ForwardingHeaders/wtf/AlwaysInline.h [new file with mode: 0644]
WebKit/ForwardingHeaders/wtf/Assertions.h [new file with mode: 0644]
WebKit/ForwardingHeaders/wtf/FastMalloc.h [new file with mode: 0644]
WebKit/ForwardingHeaders/wtf/Forward.h [new file with mode: 0644]
WebKit/ForwardingHeaders/wtf/GetPtr.h [new file with mode: 0644]
WebKit/ForwardingHeaders/wtf/HashCountedSet.h [new file with mode: 0644]
WebKit/ForwardingHeaders/wtf/HashMap.h [new file with mode: 0644]
WebKit/ForwardingHeaders/wtf/HashSet.h [new file with mode: 0644]
WebKit/ForwardingHeaders/wtf/HashTraits.h [new file with mode: 0644]
WebKit/ForwardingHeaders/wtf/MathExtras.h [new file with mode: 0644]
WebKit/ForwardingHeaders/wtf/Noncopyable.h [new file with mode: 0644]
WebKit/ForwardingHeaders/wtf/OwnArrayPtr.h [new file with mode: 0644]
WebKit/ForwardingHeaders/wtf/OwnPtr.h [new file with mode: 0644]
WebKit/ForwardingHeaders/wtf/PassRefPtr.h [new file with mode: 0644]
WebKit/ForwardingHeaders/wtf/Platform.h [new file with mode: 0644]
WebKit/ForwardingHeaders/wtf/RefPtr.h [new file with mode: 0644]
WebKit/ForwardingHeaders/wtf/Vector.h [new file with mode: 0644]
WebKit/Plugins/WebPluginContainerCheck.m
WebKit/WebCoreSupport/WebFrameBridge.m
WebKit/WebKit.xcodeproj/project.pbxproj
WebKit/WebView/WebFrame.m
WebKit/WebView/WebFrameInternal.h
WebKit/WebView/WebPDFView.m