| 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) 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 * | 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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 | 148 |
| 149 PassRefPtr<HistoryItem> currentItemForExport(); | 149 PassRefPtr<HistoryItem> currentItemForExport(); |
| 150 PassRefPtr<HistoryItem> previousItemForExport(); | 150 PassRefPtr<HistoryItem> previousItemForExport(); |
| 151 HistoryItem* itemForNewChildFrame(Frame*) const; | 151 HistoryItem* itemForNewChildFrame(Frame*) const; |
| 152 void removeChildrenForRedirect(Frame*); | 152 void removeChildrenForRedirect(Frame*); |
| 153 | 153 |
| 154 void setDefersLoading(bool); | 154 void setDefersLoading(bool); |
| 155 | 155 |
| 156 private: | 156 private: |
| 157 void goToEntry(PassOwnPtr<HistoryEntry>, ResourceRequestCachePolicy); | 157 void goToEntry(PassOwnPtr<HistoryEntry>, ResourceRequestCachePolicy); |
| 158 typedef HashMap<Frame*, HistoryItem*> HistoryFrameLoadSet; | 158 typedef HashMap<RefPtr<Frame>, HistoryItem*> HistoryFrameLoadSet; |
| 159 void recursiveGoToEntry(Frame*, HistoryFrameLoadSet& sameDocumentLoads, Hist
oryFrameLoadSet& differentDocumentLoads); | 159 void recursiveGoToEntry(Frame*, HistoryFrameLoadSet& sameDocumentLoads, Hist
oryFrameLoadSet& differentDocumentLoads); |
| 160 | 160 |
| 161 void updateForInitialLoadInChildFrame(Frame*, HistoryItem*); | 161 void updateForInitialLoadInChildFrame(Frame*, HistoryItem*); |
| 162 void createNewBackForwardItem(Frame*, HistoryItem*, bool doClip); | 162 void createNewBackForwardItem(Frame*, HistoryItem*, bool doClip); |
| 163 | 163 |
| 164 Page* m_page; | 164 Page* m_page; |
| 165 | 165 |
| 166 OwnPtr<HistoryEntry> m_currentEntry; | 166 OwnPtr<HistoryEntry> m_currentEntry; |
| 167 OwnPtr<HistoryEntry> m_previousEntry; | 167 OwnPtr<HistoryEntry> m_previousEntry; |
| 168 OwnPtr<HistoryEntry> m_provisionalEntry; | 168 OwnPtr<HistoryEntry> m_provisionalEntry; |
| 169 | 169 |
| 170 bool m_defersLoading; | 170 bool m_defersLoading; |
| 171 RefPtr<HistoryItem> m_deferredItem; | 171 RefPtr<HistoryItem> m_deferredItem; |
| 172 ResourceRequestCachePolicy m_deferredCachePolicy; | 172 ResourceRequestCachePolicy m_deferredCachePolicy; |
| 173 }; | 173 }; |
| 174 | 174 |
| 175 } // namespace WebCore | 175 } // namespace WebCore |
| 176 | 176 |
| 177 #endif // HistoryController_h | 177 #endif // HistoryController_h |
| OLD | NEW |