| 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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 | 176 |
| 177 void restoreScrollPositionAndViewState(); | 177 void restoreScrollPositionAndViewState(); |
| 178 | 178 |
| 179 DECLARE_TRACE(); | 179 DECLARE_TRACE(); |
| 180 | 180 |
| 181 private: | 181 private: |
| 182 void checkTimerFired(Timer<FrameLoader>*); | 182 void checkTimerFired(Timer<FrameLoader>*); |
| 183 void didAccessInitialDocumentTimerFired(Timer<FrameLoader>*); | 183 void didAccessInitialDocumentTimerFired(Timer<FrameLoader>*); |
| 184 | 184 |
| 185 bool prepareRequestForThisFrame(FrameLoadRequest&); | 185 bool prepareRequestForThisFrame(FrameLoadRequest&); |
| 186 static void setReferrerForFrameRequest(ResourceRequest&, ShouldSendReferrer,
Document*); | 186 static void setReferrerForFrameRequest(ResourceRequest&, ReferrerPolicy, Doc
ument*); |
| 187 FrameLoadType determineFrameLoadType(const FrameLoadRequest&); | 187 FrameLoadType determineFrameLoadType(const FrameLoadRequest&); |
| 188 | 188 |
| 189 SubstituteData defaultSubstituteDataForURL(const KURL&); | 189 SubstituteData defaultSubstituteDataForURL(const KURL&); |
| 190 | 190 |
| 191 bool shouldPerformFragmentNavigation(bool isFormSubmission, const String& ht
tpMethod, FrameLoadType, const KURL&); | 191 bool shouldPerformFragmentNavigation(bool isFormSubmission, const String& ht
tpMethod, FrameLoadType, const KURL&); |
| 192 void scrollToFragmentWithParentBoundary(const KURL&); | 192 void scrollToFragmentWithParentBoundary(const KURL&); |
| 193 | 193 |
| 194 void startLoad(FrameLoadRequest&, FrameLoadType, NavigationPolicy); | 194 void startLoad(FrameLoadRequest&, FrameLoadType, NavigationPolicy); |
| 195 | 195 |
| 196 bool validateTransitionNavigationMode(); | 196 bool validateTransitionNavigationMode(); |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 256 | 256 |
| 257 bool m_didAccessInitialDocument; | 257 bool m_didAccessInitialDocument; |
| 258 Timer<FrameLoader> m_didAccessInitialDocumentTimer; | 258 Timer<FrameLoader> m_didAccessInitialDocumentTimer; |
| 259 | 259 |
| 260 SandboxFlags m_forcedSandboxFlags; | 260 SandboxFlags m_forcedSandboxFlags; |
| 261 }; | 261 }; |
| 262 | 262 |
| 263 } // namespace blink | 263 } // namespace blink |
| 264 | 264 |
| 265 #endif // FrameLoader_h | 265 #endif // FrameLoader_h |
| OLD | NEW |