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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 | 82 |
83 void init(); | 83 void init(); |
84 | 84 |
85 LocalFrame* frame() const { return m_frame; } | 85 LocalFrame* frame() const { return m_frame; } |
86 | 86 |
87 MixedContentChecker* mixedContentChecker() const { return &m_mixedContentChe
cker; } | 87 MixedContentChecker* mixedContentChecker() const { return &m_mixedContentChe
cker; } |
88 ProgressTracker& progress() const { return *m_progressTracker; } | 88 ProgressTracker& progress() const { return *m_progressTracker; } |
89 | 89 |
90 // These functions start a load. All eventually call into loadWithNavigation
Action() or loadInSameDocument(). | 90 // These functions start a load. All eventually call into loadWithNavigation
Action() or loadInSameDocument(). |
91 void load(const FrameLoadRequest&); // The entry point for non-reload, non-h
istory loads. | 91 void load(const FrameLoadRequest&); // The entry point for non-reload, non-h
istory loads. |
92 void reload(ReloadPolicy = NormalReload, const KURL& overrideURL = KURL(), c
onst AtomicString& overrideEncoding = nullAtom); | 92 void reload(ReloadPolicy = NormalReload, const KURL& overrideURL = KURL(), c
onst AtomicString& overrideEncoding = nullAtom, ClientRedirectPolicy = NotClient
Redirect); |
93 void loadHistoryItem(HistoryItem*, HistoryLoadType = HistoryDifferentDocumen
tLoad, ResourceRequestCachePolicy = UseProtocolCachePolicy); // The entry point
for all back/forward loads | 93 void loadHistoryItem(HistoryItem*, HistoryLoadType = HistoryDifferentDocumen
tLoad, ResourceRequestCachePolicy = UseProtocolCachePolicy); // The entry point
for all back/forward loads |
94 | 94 |
95 static void reportLocalLoadFailed(LocalFrame*, const String& url); | 95 static void reportLocalLoadFailed(LocalFrame*, const String& url); |
96 | 96 |
97 // FIXME: These are all functions which stop loads. We have too many. | 97 // FIXME: These are all functions which stop loads. We have too many. |
98 // Warning: stopAllLoaders can and will detach the LocalFrame out from under
you. All callers need to either protect the LocalFrame | 98 // Warning: stopAllLoaders can and will detach the LocalFrame out from under
you. All callers need to either protect the LocalFrame |
99 // or guarantee they won't in any way access the LocalFrame after stopAllLoa
ders returns. | 99 // or guarantee they won't in any way access the LocalFrame after stopAllLoa
ders returns. |
100 void stopAllLoaders(); | 100 void stopAllLoaders(); |
101 void stopLoading(); | 101 void stopLoading(); |
102 bool closeURL(); | 102 bool closeURL(); |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
281 Timer<FrameLoader> m_didAccessInitialDocumentTimer; | 281 Timer<FrameLoader> m_didAccessInitialDocumentTimer; |
282 | 282 |
283 SandboxFlags m_forcedSandboxFlags; | 283 SandboxFlags m_forcedSandboxFlags; |
284 | 284 |
285 bool m_willDetachClient; | 285 bool m_willDetachClient; |
286 }; | 286 }; |
287 | 287 |
288 } // namespace blink | 288 } // namespace blink |
289 | 289 |
290 #endif // FrameLoader_h | 290 #endif // FrameLoader_h |
OLD | NEW |