| 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 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 HistoryItem* currentItem() const { return m_currentItem.get(); } | 186 HistoryItem* currentItem() const { return m_currentItem.get(); } |
| 187 void saveScrollState(); | 187 void saveScrollState(); |
| 188 | 188 |
| 189 void restoreScrollPositionAndViewState(); | 189 void restoreScrollPositionAndViewState(); |
| 190 | 190 |
| 191 bool shouldContinueForNavigationPolicy(const ResourceRequest&, const Substit
uteData&, DocumentLoader*, ContentSecurityPolicyDisposition, | 191 bool shouldContinueForNavigationPolicy(const ResourceRequest&, const Substit
uteData&, DocumentLoader*, ContentSecurityPolicyDisposition, |
| 192 NavigationType, NavigationPolicy, bool shouldReplaceCurrentEntry, bool i
sClientRedirect); | 192 NavigationType, NavigationPolicy, bool shouldReplaceCurrentEntry, bool i
sClientRedirect); |
| 193 | 193 |
| 194 DECLARE_TRACE(); | 194 DECLARE_TRACE(); |
| 195 | 195 |
| 196 static void setReferrerForFrameRequest(FrameLoadRequest&); |
| 197 |
| 196 private: | 198 private: |
| 197 void checkTimerFired(Timer<FrameLoader>*); | 199 void checkTimerFired(Timer<FrameLoader>*); |
| 198 void didAccessInitialDocumentTimerFired(Timer<FrameLoader>*); | 200 void didAccessInitialDocumentTimerFired(Timer<FrameLoader>*); |
| 199 | 201 |
| 200 bool prepareRequestForThisFrame(FrameLoadRequest&); | 202 bool prepareRequestForThisFrame(FrameLoadRequest&); |
| 201 static void setReferrerForFrameRequest(ResourceRequest&, ShouldSendReferrer,
Document*); | |
| 202 FrameLoadType determineFrameLoadType(const FrameLoadRequest&); | 203 FrameLoadType determineFrameLoadType(const FrameLoadRequest&); |
| 203 | 204 |
| 204 SubstituteData defaultSubstituteDataForURL(const KURL&); | 205 SubstituteData defaultSubstituteDataForURL(const KURL&); |
| 205 | 206 |
| 206 bool shouldPerformFragmentNavigation(bool isFormSubmission, const String& ht
tpMethod, FrameLoadType, const KURL&); | 207 bool shouldPerformFragmentNavigation(bool isFormSubmission, const String& ht
tpMethod, FrameLoadType, const KURL&); |
| 207 void processFragment(const KURL&, LoadStartType); | 208 void processFragment(const KURL&, LoadStartType); |
| 208 | 209 |
| 209 void startLoad(FrameLoadRequest&, FrameLoadType, NavigationPolicy); | 210 void startLoad(FrameLoadRequest&, FrameLoadType, NavigationPolicy); |
| 210 | 211 |
| 211 enum class HistoryNavigationType { | 212 enum class HistoryNavigationType { |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 284 | 285 |
| 285 SandboxFlags m_forcedSandboxFlags; | 286 SandboxFlags m_forcedSandboxFlags; |
| 286 | 287 |
| 287 bool m_dispatchingDidClearWindowObjectInMainWorld; | 288 bool m_dispatchingDidClearWindowObjectInMainWorld; |
| 288 bool m_protectProvisionalLoader; | 289 bool m_protectProvisionalLoader; |
| 289 }; | 290 }; |
| 290 | 291 |
| 291 } // namespace blink | 292 } // namespace blink |
| 292 | 293 |
| 293 #endif // FrameLoader_h | 294 #endif // FrameLoader_h |
| OLD | NEW |