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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 ResourceFetcher* fetcher() const { return m_fetcher.get(); } | 93 ResourceFetcher* fetcher() const { return m_fetcher.get(); } |
94 | 94 |
95 const SubstituteData& substituteData() const { return m_substituteData;
} | 95 const SubstituteData& substituteData() const { return m_substituteData;
} |
96 | 96 |
97 const KURL& url() const; | 97 const KURL& url() const; |
98 const KURL& unreachableURL() const; | 98 const KURL& unreachableURL() const; |
99 const KURL& urlForHistory() const; | 99 const KURL& urlForHistory() const; |
100 | 100 |
101 const AtomicString& responseMIMEType() const; | 101 const AtomicString& responseMIMEType() const; |
102 | 102 |
103 void updateForSameDocumentNavigation(const KURL&); | 103 void updateForSameDocumentNavigation(const KURL&, SameDocumentNavigation
Source); |
104 void stopLoading(); | 104 void stopLoading(); |
105 bool isCommitted() const { return m_committed; } | 105 bool isCommitted() const { return m_committed; } |
106 bool isLoading() const; | 106 bool isLoading() const; |
107 bool isLoadingMainResource() const { return m_loadingMainResource; } | 107 bool isLoadingMainResource() const { return m_loadingMainResource; } |
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; } |
(...skipping 102 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 |