OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. |
3 * Copyright (C) 2011 Google Inc. All rights reserved. | 3 * Copyright (C) 2011 Google Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * | 8 * |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 const ResourceResponse& response() const { return m_response; } | 108 const ResourceResponse& response() const { return m_response; } |
109 const ResourceError& mainDocumentError() const { return m_mainDocumentEr
ror; } | 109 const ResourceError& mainDocumentError() const { return m_mainDocumentEr
ror; } |
110 bool isClientRedirect() const { return m_isClientRedirect; } | 110 bool isClientRedirect() const { return m_isClientRedirect; } |
111 void setIsClientRedirect(bool isClientRedirect) { m_isClientRedirect = i
sClientRedirect; } | 111 void setIsClientRedirect(bool isClientRedirect) { m_isClientRedirect = i
sClientRedirect; } |
112 bool replacesCurrentHistoryItem() const { return m_replacesCurrentHistor
yItem; } | 112 bool replacesCurrentHistoryItem() const { return m_replacesCurrentHistor
yItem; } |
113 void setReplacesCurrentHistoryItem(bool replacesCurrentHistoryItem) { m_
replacesCurrentHistoryItem = replacesCurrentHistoryItem; } | 113 void setReplacesCurrentHistoryItem(bool replacesCurrentHistoryItem) { m_
replacesCurrentHistoryItem = replacesCurrentHistoryItem; } |
114 const AtomicString& overrideEncoding() const { return m_overrideEncoding
; } | 114 const AtomicString& overrideEncoding() const { return m_overrideEncoding
; } |
115 | 115 |
116 bool scheduleArchiveLoad(Resource*, const ResourceRequest&); | 116 bool scheduleArchiveLoad(Resource*, const ResourceRequest&); |
117 | 117 |
118 bool shouldContinueForNavigationPolicy(const ResourceRequest&, ContentSe
curityPolicyCheck shouldCheckMainWorldContentSecurityPolicy); | 118 bool shouldContinueForNavigationPolicy(const ResourceRequest&, ContentSe
curityPolicyCheck shouldCheckMainWorldContentSecurityPolicy, bool isTransitionNa
vigation = false); |
119 const NavigationAction& triggeringAction() const { return m_triggeringAc
tion; } | 119 const NavigationAction& triggeringAction() const { return m_triggeringAc
tion; } |
120 void setTriggeringAction(const NavigationAction& action) { m_triggeringA
ction = action; } | 120 void setTriggeringAction(const NavigationAction& action) { m_triggeringA
ction = action; } |
121 | 121 |
122 void setOverrideEncoding(const AtomicString& encoding) { m_overrideEncod
ing = encoding; } | 122 void setOverrideEncoding(const AtomicString& encoding) { m_overrideEncod
ing = encoding; } |
123 | 123 |
124 void setDefersLoading(bool); | 124 void setDefersLoading(bool); |
125 | 125 |
126 void startLoadingMainResource(); | 126 void startLoadingMainResource(); |
127 void cancelMainResourceLoad(const ResourceError&); | 127 void cancelMainResourceLoad(const ResourceError&); |
128 | 128 |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 DocumentLoadTiming m_documentLoadTiming; | 216 DocumentLoadTiming m_documentLoadTiming; |
217 | 217 |
218 double m_timeOfLastDataReceived; | 218 double m_timeOfLastDataReceived; |
219 | 219 |
220 friend class ApplicationCacheHost; // for substitute resource delivery | 220 friend class ApplicationCacheHost; // for substitute resource delivery |
221 OwnPtr<ApplicationCacheHost> m_applicationCacheHost; | 221 OwnPtr<ApplicationCacheHost> m_applicationCacheHost; |
222 }; | 222 }; |
223 } | 223 } |
224 | 224 |
225 #endif // DocumentLoader_h | 225 #endif // DocumentLoader_h |
OLD | NEW |