summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser.h
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-19 10:51:16 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-19 10:51:16 +0000
commit1ccb3568d81cf47adf6f062067c186fdf43dd56d (patch)
treeb8200bd953cbc88db64a09cc8fb6f7eca7237088 /chrome/browser/browser.h
parent0f0acb414b3e4ad3febc85bc3e6364a8b206ab76 (diff)
downloadchromium_src-1ccb3568d81cf47adf6f062067c186fdf43dd56d.zip
chromium_src-1ccb3568d81cf47adf6f062067c186fdf43dd56d.tar.gz
chromium_src-1ccb3568d81cf47adf6f062067c186fdf43dd56d.tar.bz2
linux: plumb shift-reload down into new shift-reload API
Currently Linux-only, but the Mac/Win bits should now be trivial. While I was add it, I tweaked a NavigationController function that took a bare boolean into an enum to make the call sites more explicit about what they're doing. (In most places I added new functions that call into a shared backing function; this is so I don't need to change every single caller of e.g. Reload() to pass through an extra flag that will be the same for almost every caller.) BUG=1906 TEST=visit astronomy picture of the day; hit reload, picture pops up quickly; hit shift-reload, picture loads slowly Review URL: http://codereview.chromium.org/594063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39430 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser.h')
-rw-r--r--chrome/browser/browser.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/browser.h b/chrome/browser/browser.h
index 1dbf26e..ed5c28a 100644
--- a/chrome/browser/browser.h
+++ b/chrome/browser/browser.h
@@ -350,6 +350,7 @@ class Browser : public TabStripModelDelegate,
void GoBack(WindowOpenDisposition disposition);
void GoForward(WindowOpenDisposition disposition);
void Reload();
+ void ReloadIgnoringCache(); // AKA shift-reload.
void Home(WindowOpenDisposition disposition);
void OpenCurrentURL();
void Go(WindowOpenDisposition disposition);
@@ -773,6 +774,9 @@ class Browser : public TabStripModelDelegate,
void SetAppExtensionById(TabContents* contents,
const std::string& app_extension_id);
+ // Shared code between Reload() and ReloadAll().
+ void ReloadInternal(bool ignore_cache);
+
// Data members /////////////////////////////////////////////////////////////
NotificationRegistrar registrar_;