diff options
author | mmenke@chromium.org <mmenke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-30 23:57:36 +0000 |
---|---|---|
committer | mmenke@chromium.org <mmenke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-30 23:57:36 +0000 |
commit | 669e0babf9ccf359ecd0cfe47a04555d1b255763 (patch) | |
tree | c38c1e3fa51f185ea729b7abc6bae126f3907dda /content/public/browser/navigation_controller.h | |
parent | 4e926e25197bbd52fd430f32aeaca9e5ab38e5a5 (diff) | |
download | chromium_src-669e0babf9ccf359ecd0cfe47a04555d1b255763.zip chromium_src-669e0babf9ccf359ecd0cfe47a04555d1b255763.tar.gz chromium_src-669e0babf9ccf359ecd0cfe47a04555d1b255763.tar.bz2 |
Move browser_command's code to reload transient entries
down into NavigationController::Reload.
This allows other code make use of the code to share
behavior. In particular, this is needed so the captive portal
detection code can automatically reload a tab showing an SSL
interstitial caused by a captive portal.
BUG=115487, 139966
Review URL: https://chromiumcodereview.appspot.com/10870073
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154319 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/public/browser/navigation_controller.h')
-rw-r--r-- | content/public/browser/navigation_controller.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/content/public/browser/navigation_controller.h b/content/public/browser/navigation_controller.h index 23c99e6..74c7a13 100644 --- a/content/public/browser/navigation_controller.h +++ b/content/public/browser/navigation_controller.h @@ -284,7 +284,8 @@ class NavigationController { // 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. + // reload the page. In nearly all cases pass in true. If a transient entry + // is showing, initiates a new navigation to its URL. virtual void Reload(bool check_for_repost) = 0; // Like Reload(), but don't use caches (aka "shift-reload"). |