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. | 3 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. |
4 * (http://www.torchmobile.com/) | 4 * (http://www.torchmobile.com/) |
5 * Copyright (C) Research In Motion Limited 2009. All rights reserved. | 5 * Copyright (C) Research In Motion Limited 2009. All rights reserved. |
6 * Copyright (C) 2011 Google Inc. All rights reserved. | 6 * Copyright (C) 2011 Google Inc. All rights reserved. |
7 * | 7 * |
8 * Redistribution and use in source and binary forms, with or without | 8 * Redistribution and use in source and binary forms, with or without |
9 * modification, are permitted provided that the following conditions | 9 * modification, are permitted provided that the following conditions |
10 * are met: | 10 * are met: |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
217 | 217 |
218 // Note: When a PlzNavigtate navigation is handled by the client, we will | 218 // Note: When a PlzNavigtate navigation is handled by the client, we will |
219 // have created a dummy provisional DocumentLoader, so this will return true | 219 // have created a dummy provisional DocumentLoader, so this will return true |
220 // while the client handles the navigation. | 220 // while the client handles the navigation. |
221 bool hasProvisionalNavigation() const { return provisionalDocumentLoader(); } | 221 bool hasProvisionalNavigation() const { return provisionalDocumentLoader(); } |
222 | 222 |
223 DECLARE_TRACE(); | 223 DECLARE_TRACE(); |
224 | 224 |
225 static void setReferrerForFrameRequest(FrameLoadRequest&); | 225 static void setReferrerForFrameRequest(FrameLoadRequest&); |
226 | 226 |
| 227 void clientDroppedNavigation(); |
| 228 |
227 private: | 229 private: |
228 void checkTimerFired(TimerBase*); | 230 void checkTimerFired(TimerBase*); |
229 | 231 |
230 bool prepareRequestForThisFrame(FrameLoadRequest&); | 232 bool prepareRequestForThisFrame(FrameLoadRequest&); |
231 FrameLoadType determineFrameLoadType(const FrameLoadRequest&); | 233 FrameLoadType determineFrameLoadType(const FrameLoadRequest&); |
232 | 234 |
233 SubstituteData defaultSubstituteDataForURL(const KURL&); | 235 SubstituteData defaultSubstituteDataForURL(const KURL&); |
234 | 236 |
235 bool shouldPerformFragmentNavigation(bool isFormSubmission, | 237 bool shouldPerformFragmentNavigation(bool isFormSubmission, |
236 const String& httpMethod, | 238 const String& httpMethod, |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
329 | 331 |
330 SandboxFlags m_forcedSandboxFlags; | 332 SandboxFlags m_forcedSandboxFlags; |
331 | 333 |
332 bool m_dispatchingDidClearWindowObjectInMainWorld; | 334 bool m_dispatchingDidClearWindowObjectInMainWorld; |
333 bool m_protectProvisionalLoader; | 335 bool m_protectProvisionalLoader; |
334 }; | 336 }; |
335 | 337 |
336 } // namespace blink | 338 } // namespace blink |
337 | 339 |
338 #endif // FrameLoader_h | 340 #endif // FrameLoader_h |
OLD | NEW |