Chromium Code Reviews| 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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 196 SameDocumentNavigationSource, | 196 SameDocumentNavigationSource, |
| 197 PassRefPtr<SerializedScriptValue>, | 197 PassRefPtr<SerializedScriptValue>, |
| 198 HistoryScrollRestorationType, | 198 HistoryScrollRestorationType, |
| 199 FrameLoadType, | 199 FrameLoadType, |
| 200 Document*); | 200 Document*); |
| 201 | 201 |
| 202 HistoryItem* currentItem() const { return m_currentItem.get(); } | 202 HistoryItem* currentItem() const { return m_currentItem.get(); } |
| 203 void saveScrollState(); | 203 void saveScrollState(); |
| 204 | 204 |
| 205 void restoreScrollPositionAndViewState(); | 205 void restoreScrollPositionAndViewState(); |
| 206 void setScrollFromNavigation(LoadStartType = NavigationToDifferentDocument); | |
|
majidvp
2017/01/24 21:53:52
The default argument here does not see worth the r
| |
| 206 | 207 |
| 207 bool shouldContinueForNavigationPolicy(const ResourceRequest&, | 208 bool shouldContinueForNavigationPolicy(const ResourceRequest&, |
| 208 const SubstituteData&, | 209 const SubstituteData&, |
| 209 DocumentLoader*, | 210 DocumentLoader*, |
| 210 ContentSecurityPolicyDisposition, | 211 ContentSecurityPolicyDisposition, |
| 211 NavigationType, | 212 NavigationType, |
| 212 NavigationPolicy, | 213 NavigationPolicy, |
| 213 bool shouldReplaceCurrentEntry, | 214 bool shouldReplaceCurrentEntry, |
| 214 bool isClientRedirect, | 215 bool isClientRedirect, |
| 215 HTMLFormElement*); | 216 HTMLFormElement*); |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 322 SandboxFlags m_forcedSandboxFlags; | 323 SandboxFlags m_forcedSandboxFlags; |
| 323 | 324 |
| 324 bool m_dispatchingDidClearWindowObjectInMainWorld; | 325 bool m_dispatchingDidClearWindowObjectInMainWorld; |
| 325 bool m_protectProvisionalLoader; | 326 bool m_protectProvisionalLoader; |
| 326 bool m_isNavigationHandledByClient; | 327 bool m_isNavigationHandledByClient; |
| 327 }; | 328 }; |
| 328 | 329 |
| 329 } // namespace blink | 330 } // namespace blink |
| 330 | 331 |
| 331 #endif // FrameLoader_h | 332 #endif // FrameLoader_h |
| OLD | NEW |