| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 459 bool shouldAllowNavigation(Frame* targetFrame) const; | 459 bool shouldAllowNavigation(Frame* targetFrame) const; |
| 460 Frame* findFrameForNavigation(const AtomicString& name); | 460 Frame* findFrameForNavigation(const AtomicString& name); |
| 461 | 461 |
| 462 void startIconLoader(); | 462 void startIconLoader(); |
| 463 | 463 |
| 464 void applyUserAgent(ResourceRequest& request); | 464 void applyUserAgent(ResourceRequest& request); |
| 465 | 465 |
| 466 bool firingUnloadEvents() { return m_firingUnloadEvents; } | 466 bool firingUnloadEvents() { return m_firingUnloadEvents; } |
| 467 void setFiringUnloadEvents(bool value) { m_firingUnloadEvents = value; } | 467 void setFiringUnloadEvents(bool value) { m_firingUnloadEvents = value; } |
| 468 | 468 |
| 469 void unloadListenerChanged(); | |
| 470 | |
| 471 private: | 469 private: |
| 472 PassRefPtr<HistoryItem> createHistoryItem(bool useOriginal); | 470 PassRefPtr<HistoryItem> createHistoryItem(bool useOriginal); |
| 473 PassRefPtr<HistoryItem> createHistoryItemTree(Frame* targetFrame, bool c
lipAtTarget); | 471 PassRefPtr<HistoryItem> createHistoryItemTree(Frame* targetFrame, bool c
lipAtTarget); |
| 474 | 472 |
| 475 void addBackForwardItemClippedAtTarget(bool doClip); | 473 void addBackForwardItemClippedAtTarget(bool doClip); |
| 476 void restoreScrollPositionAndViewState(); | 474 void restoreScrollPositionAndViewState(); |
| 477 void saveDocumentState(); | 475 void saveDocumentState(); |
| 478 void loadItem(HistoryItem*, FrameLoadType); | 476 void loadItem(HistoryItem*, FrameLoadType); |
| 479 bool urlsMatchItem(HistoryItem*) const; | 477 bool urlsMatchItem(HistoryItem*) const; |
| 480 void invalidateCurrentItemCachedPage(); | 478 void invalidateCurrentItemCachedPage(); |
| (...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 693 bool m_needToSwitchOutLowBandwidthDisplay; | 691 bool m_needToSwitchOutLowBandwidthDisplay; |
| 694 | 692 |
| 695 String m_pendingSourceInLowBandwidthDisplay; | 693 String m_pendingSourceInLowBandwidthDisplay; |
| 696 HashSet<CachedResource*> m_externalRequestsInLowBandwidthDisplay; | 694 HashSet<CachedResource*> m_externalRequestsInLowBandwidthDisplay; |
| 697 #endif | 695 #endif |
| 698 }; | 696 }; |
| 699 | 697 |
| 700 } | 698 } |
| 701 | 699 |
| 702 #endif | 700 #endif |
| OLD | NEW |