Implement <iframe srcdoc>
[WebKit-https.git] / Source / WebCore / loader / FrameLoader.h
index 3f93104..474b1d8 100644 (file)
@@ -168,6 +168,8 @@ public:
     void didChangeTitle(DocumentLoader*);
     void didChangeIcons(IconType);
 
+    bool shouldTreatURLAsSrcdocDocument(const KURL&) const;
+
     FrameLoadType loadType() const;
 
     CachePolicy subresourceCachePolicy() const;
@@ -307,6 +309,8 @@ private:
     void transitionToCommitted(PassRefPtr<CachedPage>);
     void frameLoadCompleted();
 
+    SubstituteData defaultSubstituteDataForURL(const KURL&);
+
     static void callContinueLoadAfterNavigationPolicy(void*, const ResourceRequest&, PassRefPtr<FormState>, bool shouldContinue);
     static void callContinueLoadAfterNewWindowPolicy(void*, const ResourceRequest&, PassRefPtr<FormState>, const String& frameName, const NavigationAction&, bool shouldContinue);
     static void callContinueFragmentScrollAfterNavigationPolicy(void*, const ResourceRequest&, PassRefPtr<FormState>, bool shouldContinue);