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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 void dispatchDocumentElementAvailable(); | 143 void dispatchDocumentElementAvailable(); |
144 | 144 |
145 // The following sandbox flags will be forced, regardless of changes to | 145 // The following sandbox flags will be forced, regardless of changes to |
146 // the sandbox attribute of any parent frames. | 146 // the sandbox attribute of any parent frames. |
147 void forceSandboxFlags(SandboxFlags flags) { m_forcedSandboxFlags |= flags;
} | 147 void forceSandboxFlags(SandboxFlags flags) { m_forcedSandboxFlags |= flags;
} |
148 SandboxFlags effectiveSandboxFlags() const; | 148 SandboxFlags effectiveSandboxFlags() const; |
149 | 149 |
150 Frame* opener(); | 150 Frame* opener(); |
151 void setOpener(LocalFrame*); | 151 void setOpener(LocalFrame*); |
152 | 152 |
153 void detachFromParent(); | 153 void detach(); |
154 | 154 |
155 void loadDone(); | 155 void loadDone(); |
156 void finishedParsing(); | 156 void finishedParsing(); |
157 void checkCompleted(); | 157 void checkCompleted(); |
158 | 158 |
159 void commitProvisionalLoad(); | 159 void commitProvisionalLoad(); |
160 | 160 |
161 FrameLoaderStateMachine* stateMachine() const { return &m_stateMachine; } | 161 FrameLoaderStateMachine* stateMachine() const { return &m_stateMachine; } |
162 | 162 |
163 LocalFrame* findFrameForNavigation(const AtomicString& name, Document* activ
eDocument); | 163 LocalFrame* findFrameForNavigation(const AtomicString& name, Document* activ
eDocument); |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 void scrollToFragmentWithParentBoundary(const KURL&); | 201 void scrollToFragmentWithParentBoundary(const KURL&); |
202 | 202 |
203 bool checkLoadCompleteForThisFrame(); | 203 bool checkLoadCompleteForThisFrame(); |
204 | 204 |
205 // Calls continueLoadAfterNavigationPolicy | 205 // Calls continueLoadAfterNavigationPolicy |
206 void loadWithNavigationAction(const NavigationAction&, FrameLoadType, PassRe
fPtrWillBeRawPtr<FormState>, | 206 void loadWithNavigationAction(const NavigationAction&, FrameLoadType, PassRe
fPtrWillBeRawPtr<FormState>, |
207 const SubstituteData&, ContentSecurityPolicyCheck shouldCheckMainWorldCo
ntentSecurityPolicy, ClientRedirectPolicy = NotClientRedirect); | 207 const SubstituteData&, ContentSecurityPolicyCheck shouldCheckMainWorldCo
ntentSecurityPolicy, ClientRedirectPolicy = NotClientRedirect); |
208 | 208 |
209 bool validateTransitionNavigationMode(); | 209 bool validateTransitionNavigationMode(); |
210 bool dispatchNavigationTransitionData(); | 210 bool dispatchNavigationTransitionData(); |
211 void detachClient(); | |
212 | 211 |
213 void setHistoryItemStateForCommit(HistoryCommitType, bool isPushOrReplaceSta
te = false, PassRefPtr<SerializedScriptValue> = nullptr); | 212 void setHistoryItemStateForCommit(HistoryCommitType, bool isPushOrReplaceSta
te = false, PassRefPtr<SerializedScriptValue> = nullptr); |
214 | 213 |
215 void loadInSameDocument(const KURL&, PassRefPtr<SerializedScriptValue> state
Object, FrameLoadType, ClientRedirectPolicy); | 214 void loadInSameDocument(const KURL&, PassRefPtr<SerializedScriptValue> state
Object, FrameLoadType, ClientRedirectPolicy); |
216 | 215 |
217 void scheduleCheckCompleted(); | 216 void scheduleCheckCompleted(); |
218 | 217 |
219 RawPtrWillBeMember<LocalFrame> m_frame; | 218 RawPtrWillBeMember<LocalFrame> m_frame; |
220 | 219 |
221 // FIXME: These should be OwnPtr<T> to reduce build times and simplify | 220 // FIXME: These should be OwnPtr<T> to reduce build times and simplify |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 | 263 |
265 bool m_didAccessInitialDocument; | 264 bool m_didAccessInitialDocument; |
266 Timer<FrameLoader> m_didAccessInitialDocumentTimer; | 265 Timer<FrameLoader> m_didAccessInitialDocumentTimer; |
267 | 266 |
268 SandboxFlags m_forcedSandboxFlags; | 267 SandboxFlags m_forcedSandboxFlags; |
269 }; | 268 }; |
270 | 269 |
271 } // namespace blink | 270 } // namespace blink |
272 | 271 |
273 #endif // FrameLoader_h | 272 #endif // FrameLoader_h |
OLD | NEW |