| 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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 : wasScrolledByUser(false) | 134 : wasScrolledByUser(false) |
| 135 , didRestoreFromHistory(false) | 135 , didRestoreFromHistory(false) |
| 136 { | 136 { |
| 137 } | 137 } |
| 138 | 138 |
| 139 bool wasScrolledByUser; | 139 bool wasScrolledByUser; |
| 140 bool didRestoreFromHistory; | 140 bool didRestoreFromHistory; |
| 141 }; | 141 }; |
| 142 InitialScrollState& initialScrollState() { return m_initialScrollState; } | 142 InitialScrollState& initialScrollState() { return m_initialScrollState; } |
| 143 | 143 |
| 144 bool loadingMultipartContent() const; | |
| 145 | |
| 146 Resource* startPreload(Resource::Type, FetchRequest&); | 144 Resource* startPreload(Resource::Type, FetchRequest&); |
| 147 | 145 |
| 148 DECLARE_VIRTUAL_TRACE(); | 146 DECLARE_VIRTUAL_TRACE(); |
| 149 | 147 |
| 150 protected: | 148 protected: |
| 151 DocumentLoader(LocalFrame*, const ResourceRequest&, const SubstituteData&); | 149 DocumentLoader(LocalFrame*, const ResourceRequest&, const SubstituteData&); |
| 152 | 150 |
| 153 Vector<KURL> m_redirectChain; | 151 Vector<KURL> m_redirectChain; |
| 154 | 152 |
| 155 private: | 153 private: |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 // Used to protect against reentrancy into dataReceived(). | 232 // Used to protect against reentrancy into dataReceived(). |
| 235 bool m_inDataReceived; | 233 bool m_inDataReceived; |
| 236 RefPtr<SharedBuffer> m_dataBuffer; | 234 RefPtr<SharedBuffer> m_dataBuffer; |
| 237 }; | 235 }; |
| 238 | 236 |
| 239 DECLARE_WEAK_IDENTIFIER_MAP(DocumentLoader); | 237 DECLARE_WEAK_IDENTIFIER_MAP(DocumentLoader); |
| 240 | 238 |
| 241 } // namespace blink | 239 } // namespace blink |
| 242 | 240 |
| 243 #endif // DocumentLoader_h | 241 #endif // DocumentLoader_h |
| OLD | NEW |