| 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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 bool shouldContinueForNavigationPolicy(const ResourceRequest&, ContentSe
curityPolicyDisposition shouldCheckMainWorldContentSecurityPolicy, NavigationPol
icy = NavigationPolicyCurrentTab, bool isTransitionNavigation = false); | 111 bool shouldContinueForNavigationPolicy(const ResourceRequest&, ContentSe
curityPolicyDisposition shouldCheckMainWorldContentSecurityPolicy, NavigationPol
icy = NavigationPolicyCurrentTab, bool isTransitionNavigation = false); |
| 112 NavigationType navigationType() const { return m_navigationType; } | 112 NavigationType navigationType() const { return m_navigationType; } |
| 113 void setNavigationType(NavigationType navigationType) { m_navigationType
= navigationType; } | 113 void setNavigationType(NavigationType navigationType) { m_navigationType
= navigationType; } |
| 114 | 114 |
| 115 void setDefersLoading(bool); | 115 void setDefersLoading(bool); |
| 116 | 116 |
| 117 void startLoadingMainResource(); | 117 void startLoadingMainResource(); |
| 118 void cancelMainResourceLoad(const ResourceError&); | 118 void cancelMainResourceLoad(const ResourceError&); |
| 119 | 119 |
| 120 void attachThreadedDataReceiver(PassOwnPtr<blink::WebThreadedDataReceive
r>); | 120 void attachThreadedDataReceiver(PassOwnPtr<blink::WebThreadedDataReceive
r>); |
| 121 void acceptDataFromThreadedReceiver(const char* data, int dataLength, in
t encodedDataLength); |
| 121 DocumentLoadTiming* timing() { return &m_documentLoadTiming; } | 122 DocumentLoadTiming* timing() { return &m_documentLoadTiming; } |
| 122 | 123 |
| 123 ApplicationCacheHost* applicationCacheHost() const { return m_applicatio
nCacheHost.get(); } | 124 ApplicationCacheHost* applicationCacheHost() const { return m_applicatio
nCacheHost.get(); } |
| 124 | 125 |
| 125 bool isRedirect() const { return m_redirectChain.size() > 1; } | 126 bool isRedirect() const { return m_redirectChain.size() > 1; } |
| 126 void clearRedirectChain(); | 127 void clearRedirectChain(); |
| 127 void appendRedirect(const KURL&); | 128 void appendRedirect(const KURL&); |
| 128 | 129 |
| 129 PassRefPtr<ContentSecurityPolicy> releaseContentSecurityPolicy() { retur
n m_contentSecurityPolicy.release(); } | 130 PassRefPtr<ContentSecurityPolicy> releaseContentSecurityPolicy() { retur
n m_contentSecurityPolicy.release(); } |
| 130 | 131 |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 double m_timeOfLastDataReceived; | 209 double m_timeOfLastDataReceived; |
| 209 | 210 |
| 210 friend class ApplicationCacheHost; // for substitute resource delivery | 211 friend class ApplicationCacheHost; // for substitute resource delivery |
| 211 OwnPtrWillBePersistent<ApplicationCacheHost> m_applicationCacheHost; | 212 OwnPtrWillBePersistent<ApplicationCacheHost> m_applicationCacheHost; |
| 212 | 213 |
| 213 RefPtr<ContentSecurityPolicy> m_contentSecurityPolicy; | 214 RefPtr<ContentSecurityPolicy> m_contentSecurityPolicy; |
| 214 }; | 215 }; |
| 215 } | 216 } |
| 216 | 217 |
| 217 #endif // DocumentLoader_h | 218 #endif // DocumentLoader_h |
| OLD | NEW |