summaryrefslogtreecommitdiff
path: root/Source/WebCore/loader/FrameLoader.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/loader/FrameLoader.h')
-rw-r--r--Source/WebCore/loader/FrameLoader.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/Source/WebCore/loader/FrameLoader.h b/Source/WebCore/loader/FrameLoader.h
index 4f140a184..e78ee4e9e 100644
--- a/Source/WebCore/loader/FrameLoader.h
+++ b/Source/WebCore/loader/FrameLoader.h
@@ -39,6 +39,7 @@
#include "IconController.h"
#include "IconURL.h"
#include "LayoutMilestones.h"
+#include "MixedContentChecker.h"
#include "PolicyChecker.h"
#include "ResourceHandle.h"
#include "ResourceLoadNotifier.h"
@@ -93,6 +94,7 @@ public:
ResourceLoadNotifier* notifier() const { return &m_notifer; }
SubframeLoader* subframeLoader() const { return &m_subframeLoader; }
IconController* icon() const { return &m_icon; }
+ MixedContentChecker* mixedContentChecker() const { return &m_mixedContentChecker; }
void prepareForHistoryNavigation();
void setupForReplace();
@@ -213,11 +215,6 @@ public:
void forceSandboxFlags(SandboxFlags flags) { m_forcedSandboxFlags |= flags; }
SandboxFlags effectiveSandboxFlags() const;
- // Mixed content related functions.
- static bool isMixedContent(SecurityOrigin* context, const KURL&);
- bool checkIfDisplayInsecureContent(SecurityOrigin* context, const KURL&);
- bool checkIfRunInsecureContent(SecurityOrigin* context, const KURL&);
-
bool checkIfFormActionAllowedByCSP(const KURL&) const;
Frame* opener();
@@ -374,12 +371,16 @@ private:
Frame* m_frame;
FrameLoaderClient* m_client;
+ // FIXME: These should be OwnPtr<T> to reduce build times and simplify
+ // header dependencies unless performance testing proves otherwise.
+ // Some of these could be lazily created for memory savings on devices.
mutable PolicyChecker m_policyChecker;
mutable HistoryController m_history;
mutable ResourceLoadNotifier m_notifer;
mutable SubframeLoader m_subframeLoader;
mutable FrameLoaderStateMachine m_stateMachine;
mutable IconController m_icon;
+ mutable MixedContentChecker m_mixedContentChecker;
class FrameProgressTracker;
OwnPtr<FrameProgressTracker> m_progressTracker;