| 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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 { | 139 { |
| 140 } | 140 } |
| 141 | 141 |
| 142 bool wasScrolledByUser; | 142 bool wasScrolledByUser; |
| 143 bool didRestoreFromHistory; | 143 bool didRestoreFromHistory; |
| 144 }; | 144 }; |
| 145 InitialScrollState& initialScrollState() { return m_initialScrollState; } | 145 InitialScrollState& initialScrollState() { return m_initialScrollState; } |
| 146 | 146 |
| 147 bool loadingMultipartContent() const; | 147 bool loadingMultipartContent() const; |
| 148 | 148 |
| 149 void startPreload(Resource::Type, FetchRequest&); | 149 ResourcePtr<Resource> startPreload(Resource::Type, FetchRequest&); |
| 150 | 150 |
| 151 DECLARE_VIRTUAL_TRACE(); | 151 DECLARE_VIRTUAL_TRACE(); |
| 152 | 152 |
| 153 protected: | 153 protected: |
| 154 DocumentLoader(LocalFrame*, const ResourceRequest&, const SubstituteData&); | 154 DocumentLoader(LocalFrame*, const ResourceRequest&, const SubstituteData&); |
| 155 | 155 |
| 156 Vector<KURL> m_redirectChain; | 156 Vector<KURL> m_redirectChain; |
| 157 | 157 |
| 158 private: | 158 private: |
| 159 static PassRefPtrWillBeRawPtr<DocumentWriter> createWriterFor(const Document
* ownerDocument, const DocumentInit&, const AtomicString& mimeType, const Atomic
String& encoding, bool dispatch, ParserSynchronizationPolicy); | 159 static PassRefPtrWillBeRawPtr<DocumentWriter> createWriterFor(const Document
* ownerDocument, const DocumentInit&, const AtomicString& mimeType, const Atomic
String& encoding, bool dispatch, ParserSynchronizationPolicy); |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 242 // Used to protect against reentrancy into dataReceived(). | 242 // Used to protect against reentrancy into dataReceived(). |
| 243 bool m_inDataReceived; | 243 bool m_inDataReceived; |
| 244 RefPtr<SharedBuffer> m_dataBuffer; | 244 RefPtr<SharedBuffer> m_dataBuffer; |
| 245 }; | 245 }; |
| 246 | 246 |
| 247 DECLARE_WEAK_IDENTIFIER_MAP(DocumentLoader); | 247 DECLARE_WEAK_IDENTIFIER_MAP(DocumentLoader); |
| 248 | 248 |
| 249 } // namespace blink | 249 } // namespace blink |
| 250 | 250 |
| 251 #endif // DocumentLoader_h | 251 #endif // DocumentLoader_h |
| OLD | NEW |