| 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 { | 132 { |
| 133 } | 133 } |
| 134 | 134 |
| 135 // TODO(skobes): Move FrameView::m_wasScrolledByUser into here. | 135 // TODO(skobes): Move FrameView::m_wasScrolledByUser into here. |
| 136 bool didRestoreFromHistory; | 136 bool didRestoreFromHistory; |
| 137 }; | 137 }; |
| 138 InitialScrollState& initialScrollState() { return m_initialScrollState;
} | 138 InitialScrollState& initialScrollState() { return m_initialScrollState;
} |
| 139 | 139 |
| 140 bool loadingMultipartContent() const; | 140 bool loadingMultipartContent() const; |
| 141 | 141 |
| 142 void startPreload(Resource::Type, FetchRequest&); |
| 143 |
| 142 protected: | 144 protected: |
| 143 DocumentLoader(LocalFrame*, const ResourceRequest&, const SubstituteData
&); | 145 DocumentLoader(LocalFrame*, const ResourceRequest&, const SubstituteData
&); |
| 144 | 146 |
| 145 Vector<KURL> m_redirectChain; | 147 Vector<KURL> m_redirectChain; |
| 146 | 148 |
| 147 private: | 149 private: |
| 148 static PassRefPtrWillBeRawPtr<DocumentWriter> createWriterFor(const Docu
ment* ownerDocument, const DocumentInit&, const AtomicString& mimeType, const At
omicString& encoding, bool dispatch, ParserSynchronizationPolicy); | 150 static PassRefPtrWillBeRawPtr<DocumentWriter> createWriterFor(const Docu
ment* ownerDocument, const DocumentInit&, const AtomicString& mimeType, const At
omicString& encoding, bool dispatch, ParserSynchronizationPolicy); |
| 149 | 151 |
| 150 void ensureWriter(const AtomicString& mimeType, const KURL& overridingUR
L = KURL()); | 152 void ensureWriter(const AtomicString& mimeType, const KURL& overridingUR
L = KURL()); |
| 151 void endWriting(DocumentWriter*); | 153 void endWriting(DocumentWriter*); |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 218 friend class ApplicationCacheHost; // for substitute resource delivery | 220 friend class ApplicationCacheHost; // for substitute resource delivery |
| 219 OwnPtrWillBePersistent<ApplicationCacheHost> m_applicationCacheHost; | 221 OwnPtrWillBePersistent<ApplicationCacheHost> m_applicationCacheHost; |
| 220 | 222 |
| 221 RefPtr<ContentSecurityPolicy> m_contentSecurityPolicy; | 223 RefPtr<ContentSecurityPolicy> m_contentSecurityPolicy; |
| 222 ClientHintsPreferences m_clientHintsPreferences; | 224 ClientHintsPreferences m_clientHintsPreferences; |
| 223 InitialScrollState m_initialScrollState; | 225 InitialScrollState m_initialScrollState; |
| 224 }; | 226 }; |
| 225 } | 227 } |
| 226 | 228 |
| 227 #endif // DocumentLoader_h | 229 #endif // DocumentLoader_h |
| OLD | NEW |