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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 virtual void dataReceived(Resource*, const char* data, unsigned length)
override final; | 179 virtual void dataReceived(Resource*, const char* data, unsigned length)
override final; |
180 virtual void notifyFinished(Resource*) override final; | 180 virtual void notifyFinished(Resource*) override final; |
181 | 181 |
182 bool maybeLoadEmpty(); | 182 bool maybeLoadEmpty(); |
183 | 183 |
184 bool isRedirectAfterPost(const ResourceRequest&, const ResourceResponse&
); | 184 bool isRedirectAfterPost(const ResourceRequest&, const ResourceResponse&
); |
185 | 185 |
186 bool shouldContinueForResponse() const; | 186 bool shouldContinueForResponse() const; |
187 | 187 |
188 RawPtrWillBeMember<LocalFrame> m_frame; | 188 RawPtrWillBeMember<LocalFrame> m_frame; |
189 RefPtrWillBeMember<ResourceFetcher> m_fetcher; | 189 PersistentWillBeMember<ResourceFetcher> m_fetcher; |
190 | 190 |
191 ResourcePtr<RawResource> m_mainResource; | 191 ResourcePtr<RawResource> m_mainResource; |
192 | 192 |
193 RefPtrWillBeMember<DocumentWriter> m_writer; | 193 RefPtrWillBeMember<DocumentWriter> m_writer; |
194 | 194 |
195 // A reference to actual request used to create the data source. | 195 // A reference to actual request used to create the data source. |
196 // The only part of this request that should change is the url, and | 196 // The only part of this request that should change is the url, and |
197 // that only in the case of a same-document navigation. | 197 // that only in the case of a same-document navigation. |
198 ResourceRequest m_originalRequest; | 198 ResourceRequest m_originalRequest; |
199 | 199 |
(...skipping 26 matching lines...) Expand all Loading... |
226 RefPtr<ContentSecurityPolicy> m_contentSecurityPolicy; | 226 RefPtr<ContentSecurityPolicy> m_contentSecurityPolicy; |
227 ClientHintsPreferences m_clientHintsPreferences; | 227 ClientHintsPreferences m_clientHintsPreferences; |
228 InitialScrollState m_initialScrollState; | 228 InitialScrollState m_initialScrollState; |
229 }; | 229 }; |
230 | 230 |
231 DECLARE_WEAK_IDENTIFIER_MAP(DocumentLoader); | 231 DECLARE_WEAK_IDENTIFIER_MAP(DocumentLoader); |
232 | 232 |
233 } // namespace blink | 233 } // namespace blink |
234 | 234 |
235 #endif // DocumentLoader_h | 235 #endif // DocumentLoader_h |
OLD | NEW |