Diff
Modified: trunk/Source/WebKit2/ChangeLog (162727 => 162728)
--- trunk/Source/WebKit2/ChangeLog 2014-01-24 23:05:51 UTC (rev 162727)
+++ trunk/Source/WebKit2/ChangeLog 2014-01-24 23:14:10 UTC (rev 162728)
@@ -1,3 +1,21 @@
+2014-01-24 Anders Carlsson <ander...@apple.com>
+
+ Get rid of WebLoaderClient
+ https://bugs.webkit.org/show_bug.cgi?id=127587
+
+ Reviewed by Andreas Kling.
+
+ Move WebLoaderClient into WKPage.cpp.
+
+ * UIProcess/API/C/WKPage.cpp:
+ (WKPageSetPageLoaderClient):
+ * UIProcess/API/Cocoa/WKBrowsingContextController.mm:
+ (-[WKBrowsingContextController setLoadDelegate:]):
+ * UIProcess/WebLoaderClient.cpp: Removed.
+ * UIProcess/WebLoaderClient.h: Removed.
+ * UIProcess/WebPageProxy.h:
+ * WebKit2.xcodeproj/project.pbxproj:
+
2014-01-24 Brady Eidson <beid...@apple.com>
IDB: Support createIndex/deleteIndex
Modified: trunk/Source/WebKit2/UIProcess/API/C/WKPage.cpp (162727 => 162728)
--- trunk/Source/WebKit2/UIProcess/API/C/WKPage.cpp 2014-01-24 23:05:51 UTC (rev 162727)
+++ trunk/Source/WebKit2/UIProcess/API/C/WKPage.cpp 2014-01-24 23:14:10 UTC (rev 162728)
@@ -29,13 +29,15 @@
#include "APIArray.h"
#include "APIData.h"
+#include "APILoaderClient.h"
#include "APIPolicyClient.h"
+#include "ImmutableDictionary.h"
+#include "PluginInformation.h"
#include "PrintInfo.h"
#include "WKAPICast.h"
#include "WKPagePolicyClientInternal.h"
#include "WKPluginInformation.h"
#include "WebBackForwardList.h"
-#include "WebLoaderClient.h"
#include "WebPageMessages.h"
#include "WebPageProxy.h"
#include "WebProcessProxy.h"
@@ -53,6 +55,10 @@
using namespace WebKit;
namespace API {
+template<> struct ClientTraits<WKPageLoaderClientBase> {
+ typedef std::tuple<WKPageLoaderClientV0, WKPageLoaderClientV1, WKPageLoaderClientV2, WKPageLoaderClientV3, WKPageLoaderClientV4> Versions;
+};
+
template<> struct ClientTraits<WKPagePolicyClientBase> {
typedef std::tuple<WKPagePolicyClientV0, WKPagePolicyClientV1, WKPagePolicyClientInternal> Versions;
};
@@ -677,9 +683,297 @@
void WKPageSetPageLoaderClient(WKPageRef pageRef, const WKPageLoaderClientBase* wkClient)
{
+ class LoaderClient : public API::Client<WKPageLoaderClientBase>, public API::LoaderClient {
+ public:
+ explicit LoaderClient(const WKPageLoaderClientBase* client)
+ {
+ initialize(client);
+ }
+
+ private:
+ virtual void didStartProvisionalLoadForFrame(WebPageProxy* page, WebFrameProxy* frame, API::Object* userData) override
+ {
+ if (!m_client.didStartProvisionalLoadForFrame)
+ return;
+
+ m_client.didStartProvisionalLoadForFrame(toAPI(page), toAPI(frame), toAPI(userData), m_client.base.clientInfo);
+ }
+
+ virtual void didReceiveServerRedirectForProvisionalLoadForFrame(WebPageProxy* page, WebFrameProxy* frame, API::Object* userData) override
+ {
+ if (!m_client.didReceiveServerRedirectForProvisionalLoadForFrame)
+ return;
+
+ m_client.didReceiveServerRedirectForProvisionalLoadForFrame(toAPI(page), toAPI(frame), toAPI(userData), m_client.base.clientInfo);
+ }
+
+ virtual void didFailProvisionalLoadWithErrorForFrame(WebPageProxy* page, WebFrameProxy* frame, const ResourceError& error, API::Object* userData) override
+ {
+ if (!m_client.didFailProvisionalLoadWithErrorForFrame)
+ return;
+
+ m_client.didFailProvisionalLoadWithErrorForFrame(toAPI(page), toAPI(frame), toAPI(error), toAPI(userData), m_client.base.clientInfo);
+ }
+
+ virtual void didCommitLoadForFrame(WebPageProxy* page, WebFrameProxy* frame, API::Object* userData) override
+ {
+ if (!m_client.didCommitLoadForFrame)
+ return;
+
+ m_client.didCommitLoadForFrame(toAPI(page), toAPI(frame), toAPI(userData), m_client.base.clientInfo);
+ }
+
+ virtual void didFinishDocumentLoadForFrame(WebPageProxy* page, WebFrameProxy* frame, API::Object* userData) override
+ {
+ if (!m_client.didFinishDocumentLoadForFrame)
+ return;
+
+ m_client.didFinishDocumentLoadForFrame(toAPI(page), toAPI(frame), toAPI(userData), m_client.base.clientInfo);
+ }
+
+ virtual void didFinishLoadForFrame(WebPageProxy* page, WebFrameProxy* frame, API::Object* userData) override
+ {
+ if (!m_client.didFinishLoadForFrame)
+ return;
+
+ m_client.didFinishLoadForFrame(toAPI(page), toAPI(frame), toAPI(userData), m_client.base.clientInfo);
+ }
+
+ virtual void didFailLoadWithErrorForFrame(WebPageProxy* page, WebFrameProxy* frame, const ResourceError& error, API::Object* userData) override
+ {
+ if (!m_client.didFailLoadWithErrorForFrame)
+ return;
+
+ m_client.didFailLoadWithErrorForFrame(toAPI(page), toAPI(frame), toAPI(error), toAPI(userData), m_client.base.clientInfo);
+ }
+
+ virtual void didSameDocumentNavigationForFrame(WebPageProxy* page, WebFrameProxy* frame, SameDocumentNavigationType type, API::Object* userData) override
+ {
+ if (!m_client.didSameDocumentNavigationForFrame)
+ return;
+
+ m_client.didSameDocumentNavigationForFrame(toAPI(page), toAPI(frame), toAPI(type), toAPI(userData), m_client.base.clientInfo);
+ }
+
+ virtual void didReceiveTitleForFrame(WebPageProxy* page, const String& title, WebFrameProxy* frame, API::Object* userData) override
+ {
+ if (!m_client.didReceiveTitleForFrame)
+ return;
+
+ m_client.didReceiveTitleForFrame(toAPI(page), toAPI(title.impl()), toAPI(frame), toAPI(userData), m_client.base.clientInfo);
+ }
+
+ virtual void didFirstLayoutForFrame(WebPageProxy* page, WebFrameProxy* frame, API::Object* userData) override
+ {
+ if (!m_client.didFirstLayoutForFrame)
+ return;
+
+ m_client.didFirstLayoutForFrame(toAPI(page), toAPI(frame), toAPI(userData), m_client.base.clientInfo);
+ }
+
+ virtual void didFirstVisuallyNonEmptyLayoutForFrame(WebPageProxy* page, WebFrameProxy* frame, API::Object* userData) override
+ {
+ if (!m_client.didFirstVisuallyNonEmptyLayoutForFrame)
+ return;
+
+ m_client.didFirstVisuallyNonEmptyLayoutForFrame(toAPI(page), toAPI(frame), toAPI(userData), m_client.base.clientInfo);
+ }
+
+ virtual void didLayout(WebPageProxy* page, LayoutMilestones milestones, API::Object* userData) override
+ {
+ if (!m_client.didLayout)
+ return;
+
+ m_client.didLayout(toAPI(page), toWKLayoutMilestones(milestones), toAPI(userData), m_client.base.clientInfo);
+ }
+
+ virtual void didRemoveFrameFromHierarchy(WebPageProxy* page, WebFrameProxy* frame, API::Object* userData) override
+ {
+ if (!m_client.didRemoveFrameFromHierarchy)
+ return;
+
+ m_client.didRemoveFrameFromHierarchy(toAPI(page), toAPI(frame), toAPI(userData), m_client.base.clientInfo);
+ }
+
+ virtual void didDisplayInsecureContentForFrame(WebPageProxy* page, WebFrameProxy* frame, API::Object* userData) override
+ {
+ if (!m_client.didDisplayInsecureContentForFrame)
+ return;
+
+ m_client.didDisplayInsecureContentForFrame(toAPI(page), toAPI(frame), toAPI(userData), m_client.base.clientInfo);
+ }
+
+ virtual void didRunInsecureContentForFrame(WebPageProxy* page, WebFrameProxy* frame, API::Object* userData) override
+ {
+ if (!m_client.didRunInsecureContentForFrame)
+ return;
+
+ m_client.didRunInsecureContentForFrame(toAPI(page), toAPI(frame), toAPI(userData), m_client.base.clientInfo);
+ }
+
+ virtual void didDetectXSSForFrame(WebPageProxy* page, WebFrameProxy* frame, API::Object* userData) override
+ {
+ if (!m_client.didDetectXSSForFrame)
+ return;
+
+ m_client.didDetectXSSForFrame(toAPI(page), toAPI(frame), toAPI(userData), m_client.base.clientInfo);
+ }
+
+ virtual bool canAuthenticateAgainstProtectionSpaceInFrame(WebPageProxy* page, WebFrameProxy* frame, WebProtectionSpace* protectionSpace) override
+ {
+ if (!m_client.canAuthenticateAgainstProtectionSpaceInFrame)
+ return false;
+
+ return m_client.canAuthenticateAgainstProtectionSpaceInFrame(toAPI(page), toAPI(frame), toAPI(protectionSpace), m_client.base.clientInfo);
+ }
+
+ virtual void didReceiveAuthenticationChallengeInFrame(WebPageProxy* page, WebFrameProxy* frame, AuthenticationChallengeProxy* authenticationChallenge) override
+ {
+ if (!m_client.didReceiveAuthenticationChallengeInFrame)
+ return;
+
+ m_client.didReceiveAuthenticationChallengeInFrame(toAPI(page), toAPI(frame), toAPI(authenticationChallenge), m_client.base.clientInfo);
+ }
+
+ virtual void didStartProgress(WebPageProxy* page) override
+ {
+ if (!m_client.didStartProgress)
+ return;
+
+ m_client.didStartProgress(toAPI(page), m_client.base.clientInfo);
+ }
+
+ virtual void didChangeProgress(WebPageProxy* page) override
+ {
+ if (!m_client.didChangeProgress)
+ return;
+
+ m_client.didChangeProgress(toAPI(page), m_client.base.clientInfo);
+ }
+
+ virtual void didFinishProgress(WebPageProxy* page) override
+ {
+ if (!m_client.didFinishProgress)
+ return;
+
+ m_client.didFinishProgress(toAPI(page), m_client.base.clientInfo);
+ }
+
+ virtual void processDidBecomeUnresponsive(WebPageProxy* page) override
+ {
+ if (!m_client.processDidBecomeUnresponsive)
+ return;
+
+ m_client.processDidBecomeUnresponsive(toAPI(page), m_client.base.clientInfo);
+ }
+
+ virtual void interactionOccurredWhileProcessUnresponsive(WebPageProxy* page) override
+ {
+ if (!m_client.interactionOccurredWhileProcessUnresponsive)
+ return;
+
+ m_client.interactionOccurredWhileProcessUnresponsive(toAPI(page), m_client.base.clientInfo);
+ }
+
+ virtual void processDidBecomeResponsive(WebPageProxy* page) override
+ {
+ if (!m_client.processDidBecomeResponsive)
+ return;
+
+ m_client.processDidBecomeResponsive(toAPI(page), m_client.base.clientInfo);
+ }
+
+ virtual void processDidCrash(WebPageProxy* page) override
+ {
+ if (!m_client.processDidCrash)
+ return;
+
+ m_client.processDidCrash(toAPI(page), m_client.base.clientInfo);
+ }
+
+ virtual void didChangeBackForwardList(WebPageProxy* page, WebBackForwardListItem* addedItem, Vector<RefPtr<API::Object>>* removedItems) override
+ {
+ if (!m_client.didChangeBackForwardList)
+ return;
+
+ RefPtr<API::Array> removedItemsArray;
+ if (removedItems && !removedItems->isEmpty())
+ removedItemsArray = API::Array::create(std::move(*removedItems));
+
+ m_client.didChangeBackForwardList(toAPI(page), toAPI(addedItem), toAPI(removedItemsArray.get()), m_client.base.clientInfo);
+ }
+
+ virtual void willGoToBackForwardListItem(WebPageProxy* page, WebBackForwardListItem* item, API::Object* userData) override
+ {
+ if (m_client.willGoToBackForwardListItem)
+ m_client.willGoToBackForwardListItem(toAPI(page), toAPI(item), toAPI(userData), m_client.base.clientInfo);
+ }
+
+#if ENABLE(NETSCAPE_PLUGIN_API)
+ virtual void didFailToInitializePlugin(WebPageProxy* page, ImmutableDictionary* pluginInformation) override
+ {
+ if (m_client.didFailToInitializePlugin_deprecatedForUseWithV0)
+ m_client.didFailToInitializePlugin_deprecatedForUseWithV0(toAPI(page), toAPI(pluginInformation->get<API::String>(pluginInformationMIMETypeKey())), m_client.base.clientInfo);
+
+ if (m_client.pluginDidFail_deprecatedForUseWithV1)
+ m_client.pluginDidFail_deprecatedForUseWithV1(toAPI(page), kWKErrorCodeCannotLoadPlugIn, toAPI(pluginInformation->get<API::String>(pluginInformationMIMETypeKey())), 0, 0, m_client.base.clientInfo);
+
+ if (m_client.pluginDidFail)
+ m_client.pluginDidFail(toAPI(page), kWKErrorCodeCannotLoadPlugIn, toAPI(pluginInformation), m_client.base.clientInfo);
+ }
+
+ virtual void didBlockInsecurePluginVersion(WebPageProxy* page, ImmutableDictionary* pluginInformation) override
+ {
+ if (m_client.pluginDidFail_deprecatedForUseWithV1)
+ m_client.pluginDidFail_deprecatedForUseWithV1(toAPI(page), kWKErrorCodeInsecurePlugInVersion, toAPI(pluginInformation->get<API::String>(pluginInformationMIMETypeKey())), toAPI(pluginInformation->get<API::String>(pluginInformationBundleIdentifierKey())), toAPI(pluginInformation->get<API::String>(pluginInformationBundleVersionKey())), m_client.base.clientInfo);
+
+ if (m_client.pluginDidFail)
+ m_client.pluginDidFail(toAPI(page), kWKErrorCodeInsecurePlugInVersion, toAPI(pluginInformation), m_client.base.clientInfo);
+ }
+
+ virtual PluginModuleLoadPolicy pluginLoadPolicy(WebPageProxy* page, PluginModuleLoadPolicy currentPluginLoadPolicy, ImmutableDictionary* pluginInformation, String& unavailabilityDescription, String& useBlockedPluginTitle) override
+ {
+ WKStringRef unavailabilityDescriptionOut = 0;
+ WKStringRef useBlockedPluginTitleOut = 0;
+ PluginModuleLoadPolicy loadPolicy = currentPluginLoadPolicy;
+
+ if (m_client.pluginLoadPolicy_deprecatedForUseWithV2)
+ loadPolicy = toPluginModuleLoadPolicy(m_client.pluginLoadPolicy_deprecatedForUseWithV2(toAPI(page), toWKPluginLoadPolicy(currentPluginLoadPolicy), toAPI(pluginInformation), m_client.base.clientInfo));
+ else if (m_client.pluginLoadPolicy_deprecatedForUseWithV3)
+ loadPolicy = toPluginModuleLoadPolicy(m_client.pluginLoadPolicy_deprecatedForUseWithV3(toAPI(page), toWKPluginLoadPolicy(currentPluginLoadPolicy), toAPI(pluginInformation), &unavailabilityDescriptionOut, m_client.base.clientInfo));
+ else if (m_client.pluginLoadPolicy)
+ loadPolicy = toPluginModuleLoadPolicy(m_client.pluginLoadPolicy(toAPI(page), toWKPluginLoadPolicy(currentPluginLoadPolicy), toAPI(pluginInformation), &unavailabilityDescriptionOut, &useBlockedPluginTitleOut, m_client.base.clientInfo));
+
+ if (unavailabilityDescriptionOut) {
+ RefPtr<API::String> webUnavailabilityDescription = adoptRef(toImpl(unavailabilityDescriptionOut));
+ unavailabilityDescription = webUnavailabilityDescription->string();
+ }
+
+ if (useBlockedPluginTitleOut) {
+ RefPtr<API::String> webUseBlockedPluginTitle = adoptRef(toImpl(useBlockedPluginTitleOut));
+ useBlockedPluginTitle = webUseBlockedPluginTitle->string();
+ }
+
+ return loadPolicy;
+ }
+#endif // ENABLE(NETSCAPE_PLUGIN_API)
+
+#if ENABLE(WEBGL)
+ virtual WebCore::WebGLLoadPolicy webGLLoadPolicy(WebPageProxy* page, const String& url) const override
+ {
+ WebCore::WebGLLoadPolicy loadPolicy = WebGLAllow;
+
+ if (m_client.webGLLoadPolicy)
+ loadPolicy = toWebGLLoadPolicy(m_client.webGLLoadPolicy(toAPI(page), toAPI(url.impl()), m_client.base.clientInfo));
+
+ return loadPolicy;
+ }
+#endif // ENABLE(WEBGL)
+ };
+
WebPageProxy* webPageProxy = toImpl(pageRef);
- auto loaderClient = std::make_unique<WebLoaderClient>(wkClient);
+ auto loaderClient = std::make_unique<LoaderClient>(wkClient);
// It would be nice to get rid of this code and transition all clients to using didLayout instead of
// didFirstLayoutInFrame and didFirstVisuallyNonEmptyLayoutInFrame. In the meantime, this is required
Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKBrowsingContextController.mm (162727 => 162728)
--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKBrowsingContextController.mm 2014-01-24 23:05:51 UTC (rev 162727)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKBrowsingContextController.mm 2014-01-24 23:14:10 UTC (rev 162728)
@@ -737,7 +737,7 @@
if (loadDelegate)
setUpPageLoaderClient(self, *_page);
else
- _page->setLoaderClient(nullptr);
+ WKPageSetPageLoaderClient(toAPI(_page.get()), nullptr);
}
- (id <WKBrowsingContextPolicyDelegate>)policyDelegate
Deleted: trunk/Source/WebKit2/UIProcess/WebLoaderClient.cpp (162727 => 162728)
--- trunk/Source/WebKit2/UIProcess/WebLoaderClient.cpp 2014-01-24 23:05:51 UTC (rev 162727)
+++ trunk/Source/WebKit2/UIProcess/WebLoaderClient.cpp 2014-01-24 23:14:10 UTC (rev 162728)
@@ -1,350 +0,0 @@
-/*
- * Copyright (C) 2010 Apple Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
- * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
- * THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "config.h"
-#include "WebLoaderClient.h"
-
-#include "APIArray.h"
-#include "ImmutableDictionary.h"
-#include "PluginInformation.h"
-#include "WKAPICast.h"
-#include "WebBackForwardListItem.h"
-#include "WebPageProxy.h"
-#include <string.h>
-
-using namespace WebCore;
-
-namespace WebKit {
-
-WebLoaderClient::WebLoaderClient(const WKPageLoaderClientBase* client)
-{
- initialize(client);
-}
-
-void WebLoaderClient::didStartProvisionalLoadForFrame(WebPageProxy* page, WebFrameProxy* frame, API::Object* userData)
-{
- if (!m_client.didStartProvisionalLoadForFrame)
- return;
-
- m_client.didStartProvisionalLoadForFrame(toAPI(page), toAPI(frame), toAPI(userData), m_client.base.clientInfo);
-}
-
-void WebLoaderClient::didReceiveServerRedirectForProvisionalLoadForFrame(WebPageProxy* page, WebFrameProxy* frame, API::Object* userData)
-{
- if (!m_client.didReceiveServerRedirectForProvisionalLoadForFrame)
- return;
-
- m_client.didReceiveServerRedirectForProvisionalLoadForFrame(toAPI(page), toAPI(frame), toAPI(userData), m_client.base.clientInfo);
-}
-
-void WebLoaderClient::didFailProvisionalLoadWithErrorForFrame(WebPageProxy* page, WebFrameProxy* frame, const ResourceError& error, API::Object* userData)
-{
- if (!m_client.didFailProvisionalLoadWithErrorForFrame)
- return;
-
- m_client.didFailProvisionalLoadWithErrorForFrame(toAPI(page), toAPI(frame), toAPI(error), toAPI(userData), m_client.base.clientInfo);
-}
-
-void WebLoaderClient::didCommitLoadForFrame(WebPageProxy* page, WebFrameProxy* frame, API::Object* userData)
-{
- if (!m_client.didCommitLoadForFrame)
- return;
-
- m_client.didCommitLoadForFrame(toAPI(page), toAPI(frame), toAPI(userData), m_client.base.clientInfo);
-}
-
-void WebLoaderClient::didFinishDocumentLoadForFrame(WebPageProxy* page, WebFrameProxy* frame, API::Object* userData)
-{
- if (!m_client.didFinishDocumentLoadForFrame)
- return;
-
- m_client.didFinishDocumentLoadForFrame(toAPI(page), toAPI(frame), toAPI(userData), m_client.base.clientInfo);
-}
-
-void WebLoaderClient::didFinishLoadForFrame(WebPageProxy* page, WebFrameProxy* frame, API::Object* userData)
-{
- if (!m_client.didFinishLoadForFrame)
- return;
-
- m_client.didFinishLoadForFrame(toAPI(page), toAPI(frame), toAPI(userData), m_client.base.clientInfo);
-}
-
-void WebLoaderClient::didFailLoadWithErrorForFrame(WebPageProxy* page, WebFrameProxy* frame, const ResourceError& error, API::Object* userData)
-{
- if (!m_client.didFailLoadWithErrorForFrame)
- return;
-
- m_client.didFailLoadWithErrorForFrame(toAPI(page), toAPI(frame), toAPI(error), toAPI(userData), m_client.base.clientInfo);
-}
-
-void WebLoaderClient::didSameDocumentNavigationForFrame(WebPageProxy* page, WebFrameProxy* frame, SameDocumentNavigationType type, API::Object* userData)
-{
- if (!m_client.didSameDocumentNavigationForFrame)
- return;
-
- m_client.didSameDocumentNavigationForFrame(toAPI(page), toAPI(frame), toAPI(type), toAPI(userData), m_client.base.clientInfo);
-}
-
-void WebLoaderClient::didReceiveTitleForFrame(WebPageProxy* page, const String& title, WebFrameProxy* frame, API::Object* userData)
-{
- if (!m_client.didReceiveTitleForFrame)
- return;
-
- m_client.didReceiveTitleForFrame(toAPI(page), toAPI(title.impl()), toAPI(frame), toAPI(userData), m_client.base.clientInfo);
-}
-
-void WebLoaderClient::didFirstLayoutForFrame(WebPageProxy* page, WebFrameProxy* frame, API::Object* userData)
-{
- if (!m_client.didFirstLayoutForFrame)
- return;
-
- m_client.didFirstLayoutForFrame(toAPI(page), toAPI(frame), toAPI(userData), m_client.base.clientInfo);
-}
-
-void WebLoaderClient::didFirstVisuallyNonEmptyLayoutForFrame(WebPageProxy* page, WebFrameProxy* frame, API::Object* userData)
-{
- if (!m_client.didFirstVisuallyNonEmptyLayoutForFrame)
- return;
-
- m_client.didFirstVisuallyNonEmptyLayoutForFrame(toAPI(page), toAPI(frame), toAPI(userData), m_client.base.clientInfo);
-}
-
-void WebLoaderClient::didLayout(WebPageProxy* page, LayoutMilestones milestones, API::Object* userData)
-{
- if (!m_client.didLayout)
- return;
-
- m_client.didLayout(toAPI(page), toWKLayoutMilestones(milestones), toAPI(userData), m_client.base.clientInfo);
-}
-
-void WebLoaderClient::didRemoveFrameFromHierarchy(WebPageProxy* page, WebFrameProxy* frame, API::Object* userData)
-{
- if (!m_client.didRemoveFrameFromHierarchy)
- return;
-
- m_client.didRemoveFrameFromHierarchy(toAPI(page), toAPI(frame), toAPI(userData), m_client.base.clientInfo);
-}
-
-void WebLoaderClient::didDisplayInsecureContentForFrame(WebPageProxy* page, WebFrameProxy* frame, API::Object* userData)
-{
- if (!m_client.didDisplayInsecureContentForFrame)
- return;
-
- m_client.didDisplayInsecureContentForFrame(toAPI(page), toAPI(frame), toAPI(userData), m_client.base.clientInfo);
-}
-
-void WebLoaderClient::didRunInsecureContentForFrame(WebPageProxy* page, WebFrameProxy* frame, API::Object* userData)
-{
- if (!m_client.didRunInsecureContentForFrame)
- return;
-
- m_client.didRunInsecureContentForFrame(toAPI(page), toAPI(frame), toAPI(userData), m_client.base.clientInfo);
-}
-
-void WebLoaderClient::didDetectXSSForFrame(WebPageProxy* page, WebFrameProxy* frame, API::Object* userData)
-{
- if (!m_client.didDetectXSSForFrame)
- return;
-
- m_client.didDetectXSSForFrame(toAPI(page), toAPI(frame), toAPI(userData), m_client.base.clientInfo);
-}
-
-bool WebLoaderClient::canAuthenticateAgainstProtectionSpaceInFrame(WebPageProxy* page, WebFrameProxy* frame, WebProtectionSpace* protectionSpace)
-{
- if (!m_client.canAuthenticateAgainstProtectionSpaceInFrame)
- return false;
-
- return m_client.canAuthenticateAgainstProtectionSpaceInFrame(toAPI(page), toAPI(frame), toAPI(protectionSpace), m_client.base.clientInfo);
-}
-
-void WebLoaderClient::didReceiveAuthenticationChallengeInFrame(WebPageProxy* page, WebFrameProxy* frame, AuthenticationChallengeProxy* authenticationChallenge)
-{
- if (!m_client.didReceiveAuthenticationChallengeInFrame)
- return;
-
- m_client.didReceiveAuthenticationChallengeInFrame(toAPI(page), toAPI(frame), toAPI(authenticationChallenge), m_client.base.clientInfo);
-}
-
-void WebLoaderClient::didStartProgress(WebPageProxy* page)
-{
- if (!m_client.didStartProgress)
- return;
-
- m_client.didStartProgress(toAPI(page), m_client.base.clientInfo);
-}
-
-void WebLoaderClient::didChangeProgress(WebPageProxy* page)
-{
- if (!m_client.didChangeProgress)
- return;
-
- m_client.didChangeProgress(toAPI(page), m_client.base.clientInfo);
-}
-
-void WebLoaderClient::didFinishProgress(WebPageProxy* page)
-{
- if (!m_client.didFinishProgress)
- return;
-
- m_client.didFinishProgress(toAPI(page), m_client.base.clientInfo);
-}
-
-void WebLoaderClient::processDidBecomeUnresponsive(WebPageProxy* page)
-{
- if (!m_client.processDidBecomeUnresponsive)
- return;
-
- m_client.processDidBecomeUnresponsive(toAPI(page), m_client.base.clientInfo);
-}
-
-void WebLoaderClient::interactionOccurredWhileProcessUnresponsive(WebPageProxy* page)
-{
- if (!m_client.interactionOccurredWhileProcessUnresponsive)
- return;
-
- m_client.interactionOccurredWhileProcessUnresponsive(toAPI(page), m_client.base.clientInfo);
-}
-
-void WebLoaderClient::processDidBecomeResponsive(WebPageProxy* page)
-{
- if (!m_client.processDidBecomeResponsive)
- return;
-
- m_client.processDidBecomeResponsive(toAPI(page), m_client.base.clientInfo);
-}
-
-void WebLoaderClient::processDidCrash(WebPageProxy* page)
-{
- if (!m_client.processDidCrash)
- return;
-
- m_client.processDidCrash(toAPI(page), m_client.base.clientInfo);
-}
-
-void WebLoaderClient::didChangeBackForwardList(WebPageProxy* page, WebBackForwardListItem* addedItem, Vector<RefPtr<API::Object>>* removedItems)
-{
- if (!m_client.didChangeBackForwardList)
- return;
-
- RefPtr<API::Array> removedItemsArray;
- if (removedItems && !removedItems->isEmpty())
- removedItemsArray = API::Array::create(std::move(*removedItems));
-
- m_client.didChangeBackForwardList(toAPI(page), toAPI(addedItem), toAPI(removedItemsArray.get()), m_client.base.clientInfo);
-}
-
-void WebLoaderClient::willGoToBackForwardListItem(WebPageProxy* page, WebBackForwardListItem* item, API::Object* userData)
-{
- if (m_client.willGoToBackForwardListItem)
- m_client.willGoToBackForwardListItem(toAPI(page), toAPI(item), toAPI(userData), m_client.base.clientInfo);
-}
-
-#if ENABLE(NETSCAPE_PLUGIN_API)
-
-void WebLoaderClient::didFailToInitializePlugin(WebPageProxy* page, ImmutableDictionary* pluginInformation)
-{
- if (m_client.didFailToInitializePlugin_deprecatedForUseWithV0)
- m_client.didFailToInitializePlugin_deprecatedForUseWithV0(
- toAPI(page),
- toAPI(pluginInformation->get<API::String>(pluginInformationMIMETypeKey())),
- m_client.base.clientInfo);
-
- if (m_client.pluginDidFail_deprecatedForUseWithV1)
- m_client.pluginDidFail_deprecatedForUseWithV1(
- toAPI(page),
- kWKErrorCodeCannotLoadPlugIn,
- toAPI(pluginInformation->get<API::String>(pluginInformationMIMETypeKey())),
- 0,
- 0,
- m_client.base.clientInfo);
-
- if (m_client.pluginDidFail)
- m_client.pluginDidFail(
- toAPI(page),
- kWKErrorCodeCannotLoadPlugIn,
- toAPI(pluginInformation),
- m_client.base.clientInfo);
-}
-
-void WebLoaderClient::didBlockInsecurePluginVersion(WebPageProxy* page, ImmutableDictionary* pluginInformation)
-{
- if (m_client.pluginDidFail_deprecatedForUseWithV1)
- m_client.pluginDidFail_deprecatedForUseWithV1(
- toAPI(page),
- kWKErrorCodeInsecurePlugInVersion,
- toAPI(pluginInformation->get<API::String>(pluginInformationMIMETypeKey())),
- toAPI(pluginInformation->get<API::String>(pluginInformationBundleIdentifierKey())),
- toAPI(pluginInformation->get<API::String>(pluginInformationBundleVersionKey())),
- m_client.base.clientInfo);
-
- if (m_client.pluginDidFail)
- m_client.pluginDidFail(
- toAPI(page),
- kWKErrorCodeInsecurePlugInVersion,
- toAPI(pluginInformation),
- m_client.base.clientInfo);
-}
-
-PluginModuleLoadPolicy WebLoaderClient::pluginLoadPolicy(WebPageProxy* page, PluginModuleLoadPolicy currentPluginLoadPolicy, ImmutableDictionary* pluginInformation, String& unavailabilityDescription, String& useBlockedPluginTitle)
-{
- WKStringRef unavailabilityDescriptionOut = 0;
- WKStringRef useBlockedPluginTitleOut = 0;
- PluginModuleLoadPolicy loadPolicy = currentPluginLoadPolicy;
-
- if (m_client.pluginLoadPolicy_deprecatedForUseWithV2)
- loadPolicy = toPluginModuleLoadPolicy(m_client.pluginLoadPolicy_deprecatedForUseWithV2(toAPI(page), toWKPluginLoadPolicy(currentPluginLoadPolicy), toAPI(pluginInformation), m_client.base.clientInfo));
- else if (m_client.pluginLoadPolicy_deprecatedForUseWithV3)
- loadPolicy = toPluginModuleLoadPolicy(m_client.pluginLoadPolicy_deprecatedForUseWithV3(toAPI(page), toWKPluginLoadPolicy(currentPluginLoadPolicy), toAPI(pluginInformation), &unavailabilityDescriptionOut, m_client.base.clientInfo));
- else if (m_client.pluginLoadPolicy)
- loadPolicy = toPluginModuleLoadPolicy(m_client.pluginLoadPolicy(toAPI(page), toWKPluginLoadPolicy(currentPluginLoadPolicy), toAPI(pluginInformation), &unavailabilityDescriptionOut, &useBlockedPluginTitleOut, m_client.base.clientInfo));
-
- if (unavailabilityDescriptionOut) {
- RefPtr<API::String> webUnavailabilityDescription = adoptRef(toImpl(unavailabilityDescriptionOut));
- unavailabilityDescription = webUnavailabilityDescription->string();
- }
-
- if (useBlockedPluginTitleOut) {
- RefPtr<API::String> webUseBlockedPluginTitle = adoptRef(toImpl(useBlockedPluginTitleOut));
- useBlockedPluginTitle = webUseBlockedPluginTitle->string();
- }
-
- return loadPolicy;
-}
-
-#endif // ENABLE(NETSCAPE_PLUGIN_API)
-
-#if ENABLE(WEBGL)
-WebCore::WebGLLoadPolicy WebLoaderClient::webGLLoadPolicy(WebPageProxy* page, const String& url) const
-{
- WebCore::WebGLLoadPolicy loadPolicy = WebGLAllow;
-
- if (m_client.webGLLoadPolicy)
- loadPolicy = toWebGLLoadPolicy(m_client.webGLLoadPolicy(toAPI(page), toAPI(url.impl()), m_client.base.clientInfo));
-
- return loadPolicy;
-}
-#endif // ENABLE(WEBGL)
-
-} // namespace WebKit
Deleted: trunk/Source/WebKit2/UIProcess/WebLoaderClient.h (162727 => 162728)
--- trunk/Source/WebKit2/UIProcess/WebLoaderClient.h 2014-01-24 23:05:51 UTC (rev 162727)
+++ trunk/Source/WebKit2/UIProcess/WebLoaderClient.h 2014-01-24 23:14:10 UTC (rev 162728)
@@ -1,110 +0,0 @@
-/*
- * Copyright (C) 2010 Apple Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
- * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
- * THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#ifndef WebLoaderClient_h
-#define WebLoaderClient_h
-
-#include "APIClient.h"
-#include "APILoaderClient.h"
-#include "WKPageLoaderClient.h"
-
-namespace API {
-class Object;
-
-template<> struct ClientTraits<WKPageLoaderClientBase> {
- typedef std::tuple<WKPageLoaderClientV0, WKPageLoaderClientV1, WKPageLoaderClientV2, WKPageLoaderClientV3, WKPageLoaderClientV4> Versions;
-};
-}
-
-namespace WebCore {
-class ResourceError;
-}
-
-namespace WebKit {
-
-class AuthenticationChallengeProxy;
-class AuthenticationDecisionListener;
-class ImmutableDictionary;
-class WebBackForwardListItem;
-class WebFrameProxy;
-class WebPageProxy;
-class WebProtectionSpace;
-
-class WebLoaderClient : public API::Client<WKPageLoaderClientBase>, public API::LoaderClient {
-public:
- explicit WebLoaderClient(const WKPageLoaderClientBase*);
-
-private:
- virtual void didStartProvisionalLoadForFrame(WebPageProxy*, WebFrameProxy*, API::Object*) override;
- virtual void didReceiveServerRedirectForProvisionalLoadForFrame(WebPageProxy*, WebFrameProxy*, API::Object*);
- virtual void didFailProvisionalLoadWithErrorForFrame(WebPageProxy*, WebFrameProxy*, const WebCore::ResourceError&, API::Object*) override;
- virtual void didCommitLoadForFrame(WebPageProxy*, WebFrameProxy*, API::Object*) override;
- virtual void didFinishDocumentLoadForFrame(WebPageProxy*, WebFrameProxy*, API::Object*) override;
- virtual void didFinishLoadForFrame(WebPageProxy*, WebFrameProxy*, API::Object*) override;
- virtual void didFailLoadWithErrorForFrame(WebPageProxy*, WebFrameProxy*, const WebCore::ResourceError&, API::Object*) override;
- virtual void didSameDocumentNavigationForFrame(WebPageProxy*, WebFrameProxy*, SameDocumentNavigationType, API::Object*) override;
- virtual void didReceiveTitleForFrame(WebPageProxy*, const WTF::String&, WebFrameProxy*, API::Object*) override;
- virtual void didFirstLayoutForFrame(WebPageProxy*, WebFrameProxy*, API::Object*) override;
-
- // FIXME: We should consider removing didFirstVisuallyNonEmptyLayoutForFrame since it is replaced by didLayout.
- virtual void didFirstVisuallyNonEmptyLayoutForFrame(WebPageProxy*, WebFrameProxy*, API::Object*) override;
-
- virtual void didRemoveFrameFromHierarchy(WebPageProxy*, WebFrameProxy*, API::Object*) override;
- virtual void didDisplayInsecureContentForFrame(WebPageProxy*, WebFrameProxy*, API::Object*) override;
- virtual void didRunInsecureContentForFrame(WebPageProxy*, WebFrameProxy*, API::Object*) override;
- virtual void didDetectXSSForFrame(WebPageProxy*, WebFrameProxy*, API::Object*) override;
-
- virtual void didLayout(WebPageProxy*, WebCore::LayoutMilestones, API::Object*) override;
-
- bool canAuthenticateAgainstProtectionSpaceInFrame(WebPageProxy*, WebFrameProxy*, WebProtectionSpace*) override;
- virtual void didReceiveAuthenticationChallengeInFrame(WebPageProxy*, WebFrameProxy*, AuthenticationChallengeProxy*) override;
-
- virtual void didStartProgress(WebPageProxy*) override;
- virtual void didChangeProgress(WebPageProxy*) override;
- virtual void didFinishProgress(WebPageProxy*) override;
-
- // FIXME: These three functions should not be part of this client.
- virtual void processDidBecomeUnresponsive(WebPageProxy*) override;
- virtual void interactionOccurredWhileProcessUnresponsive(WebPageProxy*) override;
- virtual void processDidBecomeResponsive(WebPageProxy*) override;
- virtual void processDidCrash(WebPageProxy*) override;
-
- virtual void didChangeBackForwardList(WebPageProxy*, WebBackForwardListItem* addedItem, Vector<RefPtr<API::Object>>* removedItems) override;
- virtual void willGoToBackForwardListItem(WebPageProxy*, WebBackForwardListItem*, API::Object*) override;
-
-#if ENABLE(NETSCAPE_PLUGIN_API)
- PluginModuleLoadPolicy pluginLoadPolicy(WebPageProxy*, PluginModuleLoadPolicy currentPluginLoadPolicy, ImmutableDictionary*, WTF::String& unavailabilityDescription, WTF::String& useBlockedPluginTitle) override;
- virtual void didFailToInitializePlugin(WebPageProxy*, ImmutableDictionary*) override;
- virtual void didBlockInsecurePluginVersion(WebPageProxy*, ImmutableDictionary*) override;
-#endif // ENABLE(NETSCAPE_PLUGIN_API)
-
-#if ENABLE(WEBGL)
- WebCore::WebGLLoadPolicy webGLLoadPolicy(WebPageProxy*, const WTF::String&) const;
-#endif // ENABLE(WEBGL)
-};
-
-} // namespace WebKit
-
-#endif // WebLoaderClient_h
Modified: trunk/Source/WebKit2/UIProcess/WebPageProxy.h (162727 => 162728)
--- trunk/Source/WebKit2/UIProcess/WebPageProxy.h 2014-01-24 23:05:51 UTC (rev 162727)
+++ trunk/Source/WebKit2/UIProcess/WebPageProxy.h 2014-01-24 23:14:10 UTC (rev 162728)
@@ -52,7 +52,6 @@
#include "WebFrameProxy.h"
#include "WebHistoryClient.h"
#include "WebHitTestResult.h"
-#include "WebLoaderClient.h"
#include "WebPageContextMenuClient.h"
#include "WebPageCreationParameters.h"
#include <WebCore/AlternativeTextClient.h> // FIXME: Needed by WebPageProxyMessages.h for DICTATION_ALTERNATIVES.
Modified: trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj (162727 => 162728)
--- trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj 2014-01-24 23:05:51 UTC (rev 162727)
+++ trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj 2014-01-24 23:14:10 UTC (rev 162728)
@@ -1069,7 +1069,6 @@
BC5750971268F3C6006F0F12 /* WebPopupMenuProxyMac.h in Headers */ = {isa = PBXBuildFile; fileRef = BC5750951268F3C6006F0F12 /* WebPopupMenuProxyMac.h */; };
BC5750981268F3C6006F0F12 /* WebPopupMenuProxyMac.mm in Sources */ = {isa = PBXBuildFile; fileRef = BC5750961268F3C6006F0F12 /* WebPopupMenuProxyMac.mm */; };
BC575613126E0138006F0F12 /* APIError.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC575612126E0138006F0F12 /* APIError.cpp */; };
- BC59534210FC04520098F82D /* WebLoaderClient.h in Headers */ = {isa = PBXBuildFile; fileRef = BC59534010FC04520098F82D /* WebLoaderClient.h */; };
BC59548915C7868500FD1E3E /* WebKit2.h in Headers */ = {isa = PBXBuildFile; fileRef = BC59548815C7868500FD1E3E /* WebKit2.h */; settings = {ATTRIBUTES = (Private, ); }; };
BC597075116591D000551FCA /* ProcessModel.h in Headers */ = {isa = PBXBuildFile; fileRef = BC597074116591D000551FCA /* ProcessModel.h */; };
BC5C75C814954DA600BC4775 /* WKConnectionInternal.h in Headers */ = {isa = PBXBuildFile; fileRef = BC5C75C614954DA600BC4775 /* WKConnectionInternal.h */; };
@@ -1191,7 +1190,6 @@
BCB9E2441120DACA00A137E0 /* WebContext.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCB9E2421120DACA00A137E0 /* WebContext.cpp */; };
BCB9E24B1120E15C00A137E0 /* WKContext.h in Headers */ = {isa = PBXBuildFile; fileRef = BCB9E2491120E15C00A137E0 /* WKContext.h */; settings = {ATTRIBUTES = (Private, ); }; };
BCB9E24C1120E15C00A137E0 /* WKContext.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCB9E24A1120E15C00A137E0 /* WKContext.cpp */; };
- BCB9E76211232B9E00A137E0 /* WebLoaderClient.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCB9E76111232B9E00A137E0 /* WebLoaderClient.cpp */; };
BCB9F6A01123A84B00A137E0 /* WebFramePolicyListenerProxy.h in Headers */ = {isa = PBXBuildFile; fileRef = BCB9F69E1123A84B00A137E0 /* WebFramePolicyListenerProxy.h */; };
BCB9F6A11123A84B00A137E0 /* WebFramePolicyListenerProxy.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCB9F69F1123A84B00A137E0 /* WebFramePolicyListenerProxy.cpp */; };
BCB9F6A51123DD0D00A137E0 /* WKFramePolicyListener.h in Headers */ = {isa = PBXBuildFile; fileRef = BCB9F6A31123DD0D00A137E0 /* WKFramePolicyListener.h */; settings = {ATTRIBUTES = (Private, ); }; };
@@ -2793,7 +2791,6 @@
BC5750951268F3C6006F0F12 /* WebPopupMenuProxyMac.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebPopupMenuProxyMac.h; sourceTree = "<group>"; };
BC5750961268F3C6006F0F12 /* WebPopupMenuProxyMac.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = WebPopupMenuProxyMac.mm; sourceTree = "<group>"; };
BC575612126E0138006F0F12 /* APIError.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = APIError.cpp; sourceTree = "<group>"; };
- BC59534010FC04520098F82D /* WebLoaderClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebLoaderClient.h; sourceTree = "<group>"; };
BC59548815C7868500FD1E3E /* WebKit2.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebKit2.h; sourceTree = "<group>"; };
BC597074116591D000551FCA /* ProcessModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ProcessModel.h; sourceTree = "<group>"; };
BC5C75C614954DA600BC4775 /* WKConnectionInternal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WKConnectionInternal.h; sourceTree = "<group>"; };
@@ -2918,7 +2915,6 @@
BCB9E2421120DACA00A137E0 /* WebContext.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WebContext.cpp; sourceTree = "<group>"; };
BCB9E2491120E15C00A137E0 /* WKContext.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WKContext.h; sourceTree = "<group>"; };
BCB9E24A1120E15C00A137E0 /* WKContext.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WKContext.cpp; sourceTree = "<group>"; };
- BCB9E76111232B9E00A137E0 /* WebLoaderClient.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WebLoaderClient.cpp; sourceTree = "<group>"; };
BCB9F69E1123A84B00A137E0 /* WebFramePolicyListenerProxy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebFramePolicyListenerProxy.h; sourceTree = "<group>"; };
BCB9F69F1123A84B00A137E0 /* WebFramePolicyListenerProxy.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WebFramePolicyListenerProxy.cpp; sourceTree = "<group>"; };
BCB9F6A31123DD0D00A137E0 /* WKFramePolicyListener.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WKFramePolicyListener.h; sourceTree = "<group>"; };
@@ -4969,8 +4965,6 @@
1C77C1951288A872006A742F /* WebInspectorProxy.messages.in */,
51A9E1021315CCFC009E7031 /* WebKeyValueStorageManager.cpp */,
51A9E1031315CCFC009E7031 /* WebKeyValueStorageManager.h */,
- BCB9E76111232B9E00A137E0 /* WebLoaderClient.cpp */,
- BC59534010FC04520098F82D /* WebLoaderClient.h */,
33D3A3B71339606200709BE4 /* WebMediaCacheManagerProxy.cpp */,
33D3A3B81339606200709BE4 /* WebMediaCacheManagerProxy.h */,
33D3A3B91339606200709BE4 /* WebMediaCacheManagerProxy.messages.in */,
@@ -6473,7 +6467,6 @@
1AE00D611831792100087DD7 /* FrameLoadState.h in Headers */,
BCB63478116BF10600603215 /* WebKit2_C.h in Headers */,
BC9BA5051697C45300E44616 /* WebKit2Initialize.h in Headers */,
- BC59534210FC04520098F82D /* WebLoaderClient.h in Headers */,
33D3A3C2133960B000709BE4 /* WebMediaCacheManager.h in Headers */,
2D125C5E1857EA05003BA3CB /* ViewGestureController.h in Headers */,
33D3A3C91339617900709BE4 /* WebMediaCacheManagerMessages.h in Headers */,
@@ -7863,7 +7856,6 @@
C0337DD3127A2A0E008FF4F4 /* WebKeyboardEvent.cpp in Sources */,
51A9E1051315CCFC009E7031 /* WebKeyValueStorageManager.cpp in Sources */,
BC9BA5041697C45300E44616 /* WebKit2Initialize.cpp in Sources */,
- BCB9E76211232B9E00A137E0 /* WebLoaderClient.cpp in Sources */,
33D3A3C1133960B000709BE4 /* WebMediaCacheManager.cpp in Sources */,
33D3A3C81339617900709BE4 /* WebMediaCacheManagerMessageReceiver.cpp in Sources */,
2DA944B31884E9EC00ED86DB /* WebProcessIOS.mm in Sources */,