diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2012-10-18 10:55:06 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2012-10-18 10:55:06 +0200 |
commit | ee4c86d1990a9e26277a6948e7027ad8d525ebfa (patch) | |
tree | 1e2d3408cd097606571f40ab63353c27bcb7dd5c /Source/WebCore/loader/FrameLoader.h | |
parent | d882bec96d0d30aeeda2141bfadfca7f038ee862 (diff) | |
download | qtwebkit-ee4c86d1990a9e26277a6948e7027ad8d525ebfa.tar.gz |
Imported WebKit commit 795dcd25a9649fccaf1c9b685f6e2ffedaf7e620 (http://svn.webkit.org/repository/webkit/trunk@131718)
New snapshot that includes the return of -fkeep-memory at link time
to reduce memory pressure as well as modularized documentation
Diffstat (limited to 'Source/WebCore/loader/FrameLoader.h')
-rw-r--r-- | Source/WebCore/loader/FrameLoader.h | 11 |
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; |