| 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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 SecurityContext::InsecureNavigationsSet* insecureNavigationsToUpgrade() cons
t; | 149 SecurityContext::InsecureNavigationsSet* insecureNavigationsToUpgrade() cons
t; |
| 150 | 150 |
| 151 Frame* opener(); | 151 Frame* opener(); |
| 152 void setOpener(LocalFrame*); | 152 void setOpener(LocalFrame*); |
| 153 | 153 |
| 154 void detach(); | 154 void detach(); |
| 155 | 155 |
| 156 void finishedParsing(); | 156 void finishedParsing(); |
| 157 void checkCompleted(); | 157 void checkCompleted(); |
| 158 | 158 |
| 159 // This prepares the FrameLoader for the next commit. It will dispatch |
| 160 // unload events, abort XHR requests and detach the document. Returns true |
| 161 // if the frame is ready to receive the next commit, or false otherwise. |
| 162 bool prepareForCommit(); |
| 163 |
| 159 void commitProvisionalLoad(); | 164 void commitProvisionalLoad(); |
| 160 | 165 |
| 161 FrameLoaderStateMachine* stateMachine() const { return &m_stateMachine; } | 166 FrameLoaderStateMachine* stateMachine() const { return &m_stateMachine; } |
| 162 | 167 |
| 163 void applyUserAgent(ResourceRequest&); | 168 void applyUserAgent(ResourceRequest&); |
| 164 | 169 |
| 165 bool shouldInterruptLoadForXFrameOptions(const String&, const KURL&, unsigne
d long requestIdentifier); | 170 bool shouldInterruptLoadForXFrameOptions(const String&, const KURL&, unsigne
d long requestIdentifier); |
| 166 | 171 |
| 167 bool allAncestorsAreComplete() const; // including this | 172 bool allAncestorsAreComplete() const; // including this |
| 168 | 173 |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 266 Timer<FrameLoader> m_didAccessInitialDocumentTimer; | 271 Timer<FrameLoader> m_didAccessInitialDocumentTimer; |
| 267 | 272 |
| 268 SandboxFlags m_forcedSandboxFlags; | 273 SandboxFlags m_forcedSandboxFlags; |
| 269 | 274 |
| 270 bool m_dispatchingDidClearWindowObjectInMainWorld; | 275 bool m_dispatchingDidClearWindowObjectInMainWorld; |
| 271 }; | 276 }; |
| 272 | 277 |
| 273 } // namespace blink | 278 } // namespace blink |
| 274 | 279 |
| 275 #endif // FrameLoader_h | 280 #endif // FrameLoader_h |
| OLD | NEW |