| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2011 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 3 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
| 4 * Copyright (C) Research In Motion Limited 2009. All rights reserved. | 4 * Copyright (C) Research In Motion Limited 2009. All rights reserved. |
| 5 * Copyright (C) 2011 Google Inc. All rights reserved. | 5 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 6 * | 6 * |
| 7 * Redistribution and use in source and binary forms, with or without | 7 * Redistribution and use in source and binary forms, with or without |
| 8 * modification, are permitted provided that the following conditions | 8 * modification, are permitted provided that the following conditions |
| 9 * are met: | 9 * are met: |
| 10 * | 10 * |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 bool shouldInterruptLoadForXFrameOptions(const String&, const KURL&, unsigne
d long requestIdentifier); | 175 bool shouldInterruptLoadForXFrameOptions(const String&, const KURL&, unsigne
d long requestIdentifier); |
| 176 | 176 |
| 177 bool allAncestorsAreComplete() const; // including this | 177 bool allAncestorsAreComplete() const; // including this |
| 178 | 178 |
| 179 bool shouldClose(); | 179 bool shouldClose(); |
| 180 | 180 |
| 181 void started(); | 181 void started(); |
| 182 | 182 |
| 183 bool allowPlugins(ReasonForCallingAllowPlugins); | 183 bool allowPlugins(ReasonForCallingAllowPlugins); |
| 184 | 184 |
| 185 void updateForSameDocumentNavigation(const KURL&, SameDocumentNavigationSour
ce, PassRefPtr<SerializedScriptValue>, UpdateBackForwardListPolicy); | 185 void updateForSameDocumentNavigation(const KURL&, SameDocumentNavigationSour
ce, PassRefPtr<SerializedScriptValue>, FrameLoadType); |
| 186 | 186 |
| 187 HistoryItem* currentItem() const { return m_currentItem.get(); } | 187 HistoryItem* currentItem() const { return m_currentItem.get(); } |
| 188 void saveScrollState(); | 188 void saveScrollState(); |
| 189 void clearScrollPositionAndViewState(); | 189 void clearScrollPositionAndViewState(); |
| 190 | 190 |
| 191 void restoreScrollPositionAndViewState(); | 191 void restoreScrollPositionAndViewState(); |
| 192 | 192 |
| 193 private: | 193 private: |
| 194 bool allChildrenAreComplete() const; // immediate children, not all descenda
nts | 194 bool allChildrenAreComplete() const; // immediate children, not all descenda
nts |
| 195 | 195 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 214 void loadWithNavigationAction(const NavigationAction&, FrameLoadType, PassRe
fPtrWillBeRawPtr<FormState>, | 214 void loadWithNavigationAction(const NavigationAction&, FrameLoadType, PassRe
fPtrWillBeRawPtr<FormState>, |
| 215 const SubstituteData&, ClientRedirectPolicy = NotClientRedirect, const A
tomicString& overrideEncoding = nullAtom); | 215 const SubstituteData&, ClientRedirectPolicy = NotClientRedirect, const A
tomicString& overrideEncoding = nullAtom); |
| 216 | 216 |
| 217 void detachFromParent(); | 217 void detachFromParent(); |
| 218 void detachChildren(); | 218 void detachChildren(); |
| 219 void closeAndRemoveChild(LocalFrame*); | 219 void closeAndRemoveChild(LocalFrame*); |
| 220 void detachClient(); | 220 void detachClient(); |
| 221 | 221 |
| 222 void setHistoryItemStateForCommit(HistoryCommitType, bool isPushOrReplaceSta
te = false, PassRefPtr<SerializedScriptValue> = nullptr); | 222 void setHistoryItemStateForCommit(HistoryCommitType, bool isPushOrReplaceSta
te = false, PassRefPtr<SerializedScriptValue> = nullptr); |
| 223 | 223 |
| 224 void loadInSameDocument(const KURL&, PassRefPtr<SerializedScriptValue> state
Object, UpdateBackForwardListPolicy, ClientRedirectPolicy); | 224 void loadInSameDocument(const KURL&, PassRefPtr<SerializedScriptValue> state
Object, FrameLoadType, ClientRedirectPolicy); |
| 225 | 225 |
| 226 void scheduleCheckCompleted(); | 226 void scheduleCheckCompleted(); |
| 227 void startCheckCompleteTimer(); | 227 void startCheckCompleteTimer(); |
| 228 | 228 |
| 229 LocalFrame* m_frame; | 229 LocalFrame* m_frame; |
| 230 FrameLoaderClient* m_client; | 230 FrameLoaderClient* m_client; |
| 231 | 231 |
| 232 // FIXME: These should be OwnPtr<T> to reduce build times and simplify | 232 // FIXME: These should be OwnPtr<T> to reduce build times and simplify |
| 233 // header dependencies unless performance testing proves otherwise. | 233 // header dependencies unless performance testing proves otherwise. |
| 234 // Some of these could be lazily created for memory savings on devices. | 234 // Some of these could be lazily created for memory savings on devices. |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 279 | 279 |
| 280 bool m_didAccessInitialDocument; | 280 bool m_didAccessInitialDocument; |
| 281 Timer<FrameLoader> m_didAccessInitialDocumentTimer; | 281 Timer<FrameLoader> m_didAccessInitialDocumentTimer; |
| 282 | 282 |
| 283 SandboxFlags m_forcedSandboxFlags; | 283 SandboxFlags m_forcedSandboxFlags; |
| 284 }; | 284 }; |
| 285 | 285 |
| 286 } // namespace WebCore | 286 } // namespace WebCore |
| 287 | 287 |
| 288 #endif // FrameLoader_h | 288 #endif // FrameLoader_h |
| OLD | NEW |