From f1c7411610f2f849f74eb8d911665e607657a028 Mon Sep 17 00:00:00 2001 From: "sky@google.com" Date: Thu, 30 Oct 2008 16:17:04 +0000 Subject: Makes form resubmission dialog work again. This was a regression introduced during NavigationController refactoring. BUG=2616 TEST=see bug Review URL: http://codereview.chromium.org/8865 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4212 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/navigation_controller.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'chrome/browser/navigation_controller.h') diff --git a/chrome/browser/navigation_controller.h b/chrome/browser/navigation_controller.h index 522c8b1..5b5408f 100644 --- a/chrome/browser/navigation_controller.h +++ b/chrome/browser/navigation_controller.h @@ -283,12 +283,10 @@ class NavigationController { // the offset is out of bounds. void GoToOffset(int offset); - // Reloads the current entry. The user will be prompted if the URL has POST - // data and the active WebContents isn't showing the POST interstitial page. - void Reload(); - - // Same as Reload, but doesn't check if current entry has POST data. - void ReloadDontCheckForRepost(); + // Reloads the current entry. If |check_for_repost| is true and the current + // entry has POST data the user is prompted to see if they really want to + // reload the page. In nearly all cases pass in true. + void Reload(bool check_for_repost); // Removing of entries ------------------------------------------------------- -- cgit v1.1