OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2009, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2011 Apple Inc. All rights reserved. |
3 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 3 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
4 * Copyright (C) Research In Motion Limited 2009. All rights reserved. | 4 * Copyright (C) Research In Motion Limited 2009. All rights reserved. |
5 * Copyright (C) 2011 Google Inc. All rights reserved. | 5 * Copyright (C) 2011 Google Inc. All rights reserved. |
6 * | 6 * |
7 * Redistribution and use in source and binary forms, with or without | 7 * Redistribution and use in source and binary forms, with or without |
8 * modification, are permitted provided that the following conditions | 8 * modification, are permitted provided that the following conditions |
9 * are met: | 9 * are met: |
10 * | 10 * |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 bool allowPlugins(ReasonForCallingAllowPlugins); | 183 bool allowPlugins(ReasonForCallingAllowPlugins); |
184 | 184 |
185 void updateForSameDocumentNavigation(const KURL&, SameDocumentNavigationSour
ce, PassRefPtr<SerializedScriptValue>, FrameLoadType); | 185 void updateForSameDocumentNavigation(const KURL&, SameDocumentNavigationSour
ce, PassRefPtr<SerializedScriptValue>, FrameLoadType); |
186 | 186 |
187 HistoryItem* currentItem() const { return m_currentItem.get(); } | 187 HistoryItem* currentItem() const { return m_currentItem.get(); } |
188 void saveScrollState(); | 188 void saveScrollState(); |
189 void clearScrollPositionAndViewState(); | 189 void clearScrollPositionAndViewState(); |
190 | 190 |
191 void restoreScrollPositionAndViewState(); | 191 void restoreScrollPositionAndViewState(); |
192 | 192 |
| 193 bool requestFromHistoryForInspector(ResourceRequestCachePolicy, ResourceRequ
est*); |
| 194 |
193 private: | 195 private: |
194 bool allChildrenAreComplete() const; // immediate children, not all descenda
nts | 196 bool allChildrenAreComplete() const; // immediate children, not all descenda
nts |
195 | 197 |
196 void completed(); | 198 void completed(); |
197 | 199 |
198 void checkTimerFired(Timer<FrameLoader>*); | 200 void checkTimerFired(Timer<FrameLoader>*); |
199 void didAccessInitialDocumentTimerFired(Timer<FrameLoader>*); | 201 void didAccessInitialDocumentTimerFired(Timer<FrameLoader>*); |
200 | 202 |
201 bool prepareRequestForThisFrame(FrameLoadRequest&); | 203 bool prepareRequestForThisFrame(FrameLoadRequest&); |
202 void setReferrerForFrameRequest(ResourceRequest&, ShouldSendReferrer, Docume
nt*); | 204 void setReferrerForFrameRequest(ResourceRequest&, ShouldSendReferrer, Docume
nt*); |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
279 Timer<FrameLoader> m_didAccessInitialDocumentTimer; | 281 Timer<FrameLoader> m_didAccessInitialDocumentTimer; |
280 | 282 |
281 SandboxFlags m_forcedSandboxFlags; | 283 SandboxFlags m_forcedSandboxFlags; |
282 | 284 |
283 bool m_willDetachClient; | 285 bool m_willDetachClient; |
284 }; | 286 }; |
285 | 287 |
286 } // namespace WebCore | 288 } // namespace WebCore |
287 | 289 |
288 #endif // FrameLoader_h | 290 #endif // FrameLoader_h |
OLD | NEW |