WebFrameNetworkingContext.h [plain text]
#ifndef WebFrameNetworkingContext_h
#define WebFrameNetworkingContext_h
#include "WebFrame.h"
#import <WebCore/FrameNetworkingContext.h>
namespace WebKit {
class WebFrameNetworkingContext : public WebCore::FrameNetworkingContext {
public:
static PassRefPtr<WebFrameNetworkingContext> create(WebFrame* frame)
{
return adoptRef(new WebFrameNetworkingContext(frame));
}
private:
WebFrameNetworkingContext(WebFrame* frame)
: WebCore::FrameNetworkingContext(frame->coreFrame())
{
}
virtual bool needsSiteSpecificQuirks() const;
virtual bool localFileContentSniffingEnabled() const;
virtual WebCore::SchedulePairHashSet* scheduledRunLoopPairs() const;
virtual WebCore::ResourceError blockedError(const WebCore::ResourceRequest&) const;
};
}
#endif