diff options
Diffstat (limited to 'Source/WebKit2/UIProcess/efl/ResourceLoadClientEfl.h')
| -rw-r--r-- | Source/WebKit2/UIProcess/efl/ResourceLoadClientEfl.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Source/WebKit2/UIProcess/efl/ResourceLoadClientEfl.h b/Source/WebKit2/UIProcess/efl/ResourceLoadClientEfl.h index 58f52b4b7..7a5525b6a 100644 --- a/Source/WebKit2/UIProcess/efl/ResourceLoadClientEfl.h +++ b/Source/WebKit2/UIProcess/efl/ResourceLoadClientEfl.h @@ -27,23 +27,24 @@ #define ResourceLoadClientEfl_h #include "ewk_resource_private.h" -#include "ewk_view_private.h" #include <wtf/HashMap.h> #include <wtf/PassOwnPtr.h> +class EwkViewImpl; + namespace WebKit { class ResourceLoadClientEfl { public: ~ResourceLoadClientEfl(); - static PassOwnPtr<ResourceLoadClientEfl> create(Evas_Object* view) + static PassOwnPtr<ResourceLoadClientEfl> create(EwkViewImpl* viewImpl) { - return adoptPtr(new ResourceLoadClientEfl(view)); + return adoptPtr(new ResourceLoadClientEfl(viewImpl)); } private: - explicit ResourceLoadClientEfl(Evas_Object* view); + explicit ResourceLoadClientEfl(EwkViewImpl*); static void didInitiateLoadForResource(WKPageRef, WKFrameRef, uint64_t resourceIdentifier, WKURLRequestRef, bool pageIsProvisionallyLoading, const void* clientInfo); static void didSendRequestForResource(WKPageRef, WKFrameRef, uint64_t resourceIdentifier, WKURLRequestRef, WKURLResponseRef, const void* clientInfo); @@ -53,7 +54,7 @@ private: static void onViewProvisionalLoadStarted(void* userData, Evas_Object* view, void* clientInfo); - Evas_Object* m_view; + EwkViewImpl* m_viewImpl; HashMap< uint64_t, RefPtr<Ewk_Resource> > m_loadingResourcesMap; }; |
