diff options
Diffstat (limited to 'WebCore/loader/FrameLoader.h')
| -rw-r--r-- | WebCore/loader/FrameLoader.h | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/WebCore/loader/FrameLoader.h b/WebCore/loader/FrameLoader.h index 31351a3..875736f 100644 --- a/WebCore/loader/FrameLoader.h +++ b/WebCore/loader/FrameLoader.h @@ -52,6 +52,7 @@ class AuthenticationChallenge; class CachedFrameBase; class CachedPage; class CachedResource; +class DOMWrapperWorld; class Document; class DocumentLoader; class Event; @@ -74,6 +75,7 @@ class ScriptSourceCode; class ScriptString; class ScriptValue; class SecurityOrigin; +class SerializedScriptValue; class SharedBuffer; class SubstituteData; class TextResourceDecoder; @@ -250,9 +252,15 @@ public: PassRefPtr<Widget> createJavaAppletWidget(const IntSize&, HTMLAppletElement*, const HashMap<String, String>& args); - void dispatchWindowObjectAvailable(); + void dispatchDidClearWindowObjectInWorld(DOMWrapperWorld*); + void dispatchDidClearWindowObjectsInAllWorlds(); void dispatchDocumentElementAvailable(); + void ownerElementSandboxFlagsChanged() { updateSandboxFlags(); } + + bool isSandboxed(SandboxFlags mask) const { return m_sandboxFlags & mask; } + SandboxFlags sandboxFlags() const { return m_sandboxFlags; } + // Mixed content related functions. static bool isMixedContent(SecurityOrigin* context, const KURL&); void checkIfDisplayInsecureContent(SecurityOrigin* context, const KURL&); @@ -347,6 +355,9 @@ private: bool loadPlugin(RenderPart*, const KURL&, const String& mimeType, const Vector<String>& paramNames, const Vector<String>& paramValues, bool useFallback); + void navigateWithinDocument(HistoryItem*); + void navigateToDifferentDocument(HistoryItem*, FrameLoadType); + bool loadProvisionalItemFromCachedPage(); void cachePageForHistoryItem(HistoryItem*); void pageHidden(); @@ -428,7 +439,7 @@ private: Frame* loadSubframe(HTMLFrameOwnerElement*, const KURL&, const String& name, const String& referrer); - void scrollToAnchor(const KURL&); + void loadInSameDocument(const KURL&, SerializedScriptValue* stateObject, bool isNewNavigation); void provisionalLoadStarted(); @@ -444,6 +455,8 @@ private: bool shouldTreatURLAsSameAsCurrent(const KURL&) const; + void updateSandboxFlags(); + Frame* m_frame; FrameLoaderClient* m_client; @@ -515,6 +528,8 @@ private: bool m_loadingFromCachedPage; bool m_suppressOpenerInNewFrame; + SandboxFlags m_sandboxFlags; + #ifndef NDEBUG bool m_didDispatchDidCommitLoad; #endif |
