summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_window.h
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-15 18:08:49 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-15 18:08:49 +0000
commitc398981aa94189d9173b304e5b1d67f97e79fbc8 (patch)
treea76be0ddc0038b3e9c2d28736e351fc0117e1320 /chrome/browser/browser_window.h
parent8aa31e5bb274abd6f5eb43e6297e00cf6d365856 (diff)
downloadchromium_src-c398981aa94189d9173b304e5b1d67f97e79fbc8.zip
chromium_src-c398981aa94189d9173b304e5b1d67f97e79fbc8.tar.gz
chromium_src-c398981aa94189d9173b304e5b1d67f97e79fbc8.tar.bz2
Fix regression I introduced where Stop/Go button would toggle state instantly instead of having protections against accidental user actions while the mouse was hovering the button.
I elected to condense ChangeMode() and ScheduleChangeMode() into one function, which as a result became pretty simple. BUG=9843 Review URL: http://codereview.chromium.org/67156 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13761 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_window.h')
-rw-r--r--chrome/browser/browser_window.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/browser_window.h b/chrome/browser/browser_window.h
index e7e8e4f..440c66d 100644
--- a/chrome/browser/browser_window.h
+++ b/chrome/browser/browser_window.h
@@ -106,7 +106,7 @@ class BrowserWindow {
// Informs the view whether or not a load is in progress for the current tab.
// The view can use this notification to update the go/stop button.
- virtual void UpdateStopGoState(bool is_loading) = 0;
+ virtual void UpdateStopGoState(bool is_loading, bool force) = 0;
// Updates the toolbar with the state for the specified |contents|.
virtual void UpdateToolbar(TabContents* contents,