| 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 | 66 |
| 67 CORE_EXPORT bool isBackForwardLoadType(FrameLoadType); | 67 CORE_EXPORT bool isBackForwardLoadType(FrameLoadType); |
| 68 CORE_EXPORT bool isReloadLoadType(FrameLoadType); | 68 CORE_EXPORT bool isReloadLoadType(FrameLoadType); |
| 69 | 69 |
| 70 class CORE_EXPORT FrameLoader final { | 70 class CORE_EXPORT FrameLoader final { |
| 71 WTF_MAKE_NONCOPYABLE(FrameLoader); | 71 WTF_MAKE_NONCOPYABLE(FrameLoader); |
| 72 DISALLOW_NEW(); | 72 DISALLOW_NEW(); |
| 73 public: | 73 public: |
| 74 static ResourceRequest resourceRequestFromHistoryItem(HistoryItem*, WebCache
Policy); | 74 static ResourceRequest resourceRequestFromHistoryItem(HistoryItem*, WebCache
Policy); |
| 75 | 75 |
| 76 FrameLoader(LocalFrame*); | 76 explicit FrameLoader(LocalFrame*); |
| 77 ~FrameLoader(); | 77 ~FrameLoader(); |
| 78 | 78 |
| 79 void init(); | 79 void init(); |
| 80 | 80 |
| 81 ResourceRequest resourceRequestForReload(FrameLoadType, const KURL& override
URL = KURL(), | 81 ResourceRequest resourceRequestForReload(FrameLoadType, const KURL& override
URL = KURL(), |
| 82 ClientRedirectPolicy = ClientRedirectPolicy::NotClientRedirect); | 82 ClientRedirectPolicy = ClientRedirectPolicy::NotClientRedirect); |
| 83 | 83 |
| 84 ProgressTracker& progress() const { return *m_progressTracker; } | 84 ProgressTracker& progress() const { return *m_progressTracker; } |
| 85 | 85 |
| 86 // Starts a load. It will eventually call startLoad() or | 86 // Starts a load. It will eventually call startLoad() or |
| (...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 284 SandboxFlags m_forcedSandboxFlags; | 284 SandboxFlags m_forcedSandboxFlags; |
| 285 | 285 |
| 286 bool m_dispatchingDidClearWindowObjectInMainWorld; | 286 bool m_dispatchingDidClearWindowObjectInMainWorld; |
| 287 bool m_protectProvisionalLoader; | 287 bool m_protectProvisionalLoader; |
| 288 bool m_isNavigationHandledByClient; | 288 bool m_isNavigationHandledByClient; |
| 289 }; | 289 }; |
| 290 | 290 |
| 291 } // namespace blink | 291 } // namespace blink |
| 292 | 292 |
| 293 #endif // FrameLoader_h | 293 #endif // FrameLoader_h |
| OLD | NEW |