| 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 DISALLOW_NEW(); | 67 DISALLOW_NEW(); |
| 68 public: | 68 public: |
| 69 static ResourceRequest resourceRequestFromHistoryItem(HistoryItem*, Resource
RequestCachePolicy); | 69 static ResourceRequest resourceRequestFromHistoryItem(HistoryItem*, Resource
RequestCachePolicy); |
| 70 | 70 |
| 71 FrameLoader(LocalFrame*); | 71 FrameLoader(LocalFrame*); |
| 72 ~FrameLoader(); | 72 ~FrameLoader(); |
| 73 | 73 |
| 74 void init(); | 74 void init(); |
| 75 | 75 |
| 76 ResourceRequest resourceRequestForReload(FrameLoadType, const KURL& override
URL = KURL(), | 76 ResourceRequest resourceRequestForReload(FrameLoadType, const KURL& override
URL = KURL(), |
| 77 ClientRedirectPolicy = NotClientRedirect); | 77 ClientRedirectPolicy = ClientRedirectPolicy::NotClientRedirect); |
| 78 | 78 |
| 79 ProgressTracker& progress() const { return *m_progressTracker; } | 79 ProgressTracker& progress() const { return *m_progressTracker; } |
| 80 | 80 |
| 81 // Starts a load. It will eventually call startLoad() or | 81 // Starts a load. It will eventually call startLoad() or |
| 82 // loadInSameDocument(). For history navigations or reloads, an appropriate | 82 // loadInSameDocument(). For history navigations or reloads, an appropriate |
| 83 // FrameLoadType should be given. Otherwise, FrameLoadTypeStandard should be | 83 // FrameLoadType should be given. Otherwise, FrameLoadTypeStandard should be |
| 84 // used (and the final FrameLoadType will be computed). For history | 84 // used (and the final FrameLoadType will be computed). For history |
| 85 // navigations, a history item and a HistoryLoadType should also be provided
. | 85 // navigations, a history item and a HistoryLoadType should also be provided
. |
| 86 void load(const FrameLoadRequest&, FrameLoadType = FrameLoadTypeStandard, | 86 void load(const FrameLoadRequest&, FrameLoadType = FrameLoadTypeStandard, |
| 87 HistoryItem* = nullptr, HistoryLoadType = HistoryDifferentDocumentLoad); | 87 HistoryItem* = nullptr, HistoryLoadType = HistoryDifferentDocumentLoad); |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 278 | 278 |
| 279 SandboxFlags m_forcedSandboxFlags; | 279 SandboxFlags m_forcedSandboxFlags; |
| 280 | 280 |
| 281 bool m_dispatchingDidClearWindowObjectInMainWorld; | 281 bool m_dispatchingDidClearWindowObjectInMainWorld; |
| 282 bool m_protectProvisionalLoader; | 282 bool m_protectProvisionalLoader; |
| 283 }; | 283 }; |
| 284 | 284 |
| 285 } // namespace blink | 285 } // namespace blink |
| 286 | 286 |
| 287 #endif // FrameLoader_h | 287 #endif // FrameLoader_h |
| OLD | NEW |