diff options
author | sky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-17 16:28:49 +0000 |
---|---|---|
committer | sky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-17 16:28:49 +0000 |
commit | c12bf1a1aa1a24d7f516b7e76428518c594d7da5 (patch) | |
tree | a8417e738ef3f6017f93972cba7eea0ca8a2f8e3 /chrome/common | |
parent | 5753fae33db5da0f5ca75490ea0eff8c91084392 (diff) | |
download | chromium_src-c12bf1a1aa1a24d7f516b7e76428518c594d7da5.zip chromium_src-c12bf1a1aa1a24d7f516b7e76428518c594d7da5.tar.gz chromium_src-c12bf1a1aa1a24d7f516b7e76428518c594d7da5.tar.bz2 |
Wires up session restore so that it correctly deals with the
navigation controller removing entries from the front of its list.
BUG=1324021
TEST=covered by unit tests, but make sure you don't see problems with
session restore.
Review URL: http://codereview.chromium.org/2906
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2310 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/notification_types.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/chrome/common/notification_types.h b/chrome/common/notification_types.h index a57d978..e55630a 100644 --- a/chrome/common/notification_types.h +++ b/chrome/common/notification_types.h @@ -49,19 +49,16 @@ enum NotificationType { NOTIFY_NAV_ENTRY_COMMITTED, // Indicates that the NavigationController given in the Source has decreased - // its back/forward list count. This is usually the result of going back and - // then doing a new navigation, meaning all the "forward" items are deleted. + // its back/forward list count by removing entries from either the front or + // back of its list. This is usually the result of going back and then doing a + // new navigation, meaning all the "forward" items are deleted. // // This normally happens as a result of a new navigation. It will be followed // by a NOTIFY_NAV_ENTRY_COMMITTED message for the new page that caused the // pruning. It could also be a result of removing an item from the list to fix // up after interstitials. // - // The details are an integer indicating the number of items pruned. - // Watch out: the NavigationController may start throwing entries away once - // the list is a certain size, so you can't use the current size of the - // navigation list to tell how many items were pruned, you have to use the - // details provided here. + // The details are NavigationController::PrunedDetails. NOTIFY_NAV_LIST_PRUNED, // Indicates that a NavigationEntry has changed. The source will be the |