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

Unified Diff: chrome/browser/views/go_button.h

Issue 67156: Fix regression I introduced where Stop/Go button would toggle state instantly... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 8 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
Index: chrome/browser/views/go_button.h
===================================================================
--- chrome/browser/views/go_button.h (revision 13668)
+++ chrome/browser/views/go_button.h (working copy)
@@ -32,13 +32,10 @@
GoButton(LocationBarView* location_bar, Browser* Browser);
virtual ~GoButton();
- // Force the button state
- void ChangeMode(Mode mode);
+ // Ask for a specified button state. If |force| is true this will be applied
+ // immediately.
+ void ChangeMode(Mode mode, bool force);
- // Ask for a specified button state. This is commonly called by the Browser
- // when page load state changes.
- void ScheduleChangeMode(Mode mode);
-
// Overridden from views::ButtonListener:
virtual void ButtonPressed(views::Button* button);

Powered by Google App Engine
This is Rietveld 408576698