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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 | 124 |
125 bool isRedirect() const { return m_redirectChain.size() > 1; } | 125 bool isRedirect() const { return m_redirectChain.size() > 1; } |
126 void clearRedirectChain(); | 126 void clearRedirectChain(); |
127 void appendRedirect(const KURL&); | 127 void appendRedirect(const KURL&); |
128 | 128 |
129 PassRefPtrWillBeRawPtr<ContentSecurityPolicy> releaseContentSecurityPolicy()
{ return m_contentSecurityPolicy.release(); } | 129 PassRefPtrWillBeRawPtr<ContentSecurityPolicy> releaseContentSecurityPolicy()
{ return m_contentSecurityPolicy.release(); } |
130 | 130 |
131 ClientHintsPreferences& clientHintsPreferences() { return m_clientHintsPrefe
rences; } | 131 ClientHintsPreferences& clientHintsPreferences() { return m_clientHintsPrefe
rences; } |
132 | 132 |
133 struct InitialScrollState { | 133 struct InitialScrollState { |
| 134 DISALLOW_ALLOCATION(); |
134 InitialScrollState() | 135 InitialScrollState() |
135 : wasScrolledByUser(false) | 136 : wasScrolledByUser(false) |
136 , didRestoreFromHistory(false) | 137 , didRestoreFromHistory(false) |
137 { | 138 { |
138 } | 139 } |
139 | 140 |
140 bool wasScrolledByUser; | 141 bool wasScrolledByUser; |
141 bool didRestoreFromHistory; | 142 bool didRestoreFromHistory; |
142 }; | 143 }; |
143 InitialScrollState& initialScrollState() { return m_initialScrollState; } | 144 InitialScrollState& initialScrollState() { return m_initialScrollState; } |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 // Used to protect against reentrancy into dataReceived(). | 241 // Used to protect against reentrancy into dataReceived(). |
241 bool m_inDataReceived; | 242 bool m_inDataReceived; |
242 RefPtr<SharedBuffer> m_dataBuffer; | 243 RefPtr<SharedBuffer> m_dataBuffer; |
243 }; | 244 }; |
244 | 245 |
245 DECLARE_WEAK_IDENTIFIER_MAP(DocumentLoader); | 246 DECLARE_WEAK_IDENTIFIER_MAP(DocumentLoader); |
246 | 247 |
247 } // namespace blink | 248 } // namespace blink |
248 | 249 |
249 #endif // DocumentLoader_h | 250 #endif // DocumentLoader_h |
OLD | NEW |