Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3220)

Unified Diff: chrome/browser/browser.h

Issue 2779011: Make the reload button respond to middle-clicks like back/forward/home alread... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/automation/automation_provider.cc ('k') | chrome/browser/browser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser.h
===================================================================
--- chrome/browser/browser.h (revision 49315)
+++ chrome/browser/browser.h (working copy)
@@ -431,8 +431,8 @@
// Navigation commands
void GoBack(WindowOpenDisposition disposition);
void GoForward(WindowOpenDisposition disposition);
- void Reload();
- void ReloadIgnoringCache(); // AKA shift-reload.
+ void Reload(WindowOpenDisposition disposition);
+ void ReloadIgnoringCache(WindowOpenDisposition disposition); // Shift-reload.
void Home(WindowOpenDisposition disposition);
void OpenCurrentURL();
void Go(WindowOpenDisposition disposition);
@@ -894,15 +894,14 @@
static void RegisterAppPrefs(const std::wstring& app_name);
// Shared code between Reload() and ReloadAll().
- void ReloadInternal(bool ignore_cache);
+ void ReloadInternal(WindowOpenDisposition disposition, bool ignore_cache);
// Return true if the window dispositions means opening a new tab.
bool ShouldOpenNewTabForWindowDisposition(WindowOpenDisposition disposition);
- // Depending on the disposition, return the |NavigationController| for the
- // current tab or clone the current tab and return its |NavigationController|.
- NavigationController& GetOrCloneNavigationControllerForDisposition(
- WindowOpenDisposition disp);
+ // Depending on the disposition, return the current tab or a clone of the
+ // current tab.
+ TabContents* GetOrCloneTabForDisposition(WindowOpenDisposition disposition);
// Sets the insertion policy of the tabstrip based on whether vertical tabs
// are enabled.
« no previous file with comments | « chrome/browser/automation/automation_provider.cc ('k') | chrome/browser/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698