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