diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-15 18:40:39 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-15 18:40:39 +0000 |
commit | ba9f91ad7c36842828979e53d1ef75df20a8245b (patch) | |
tree | 59b2f1d4a49a5ed0ca129795b5a5be998b95e0bc /chrome/browser/gtk/go_button_gtk.h | |
parent | 2de4c9dc8adde93fab848f91d07ee7c579ae1ced (diff) | |
download | chromium_src-ba9f91ad7c36842828979e53d1ef75df20a8245b.zip chromium_src-ba9f91ad7c36842828979e53d1ef75df20a8245b.tar.gz chromium_src-ba9f91ad7c36842828979e53d1ef75df20a8245b.tar.bz2 |
Change GTK Go button impl to match the changes I already made to the Windows implementation.
Review URL: http://codereview.chromium.org/67178
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13767 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/go_button_gtk.h')
-rw-r--r-- | chrome/browser/gtk/go_button_gtk.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/chrome/browser/gtk/go_button_gtk.h b/chrome/browser/gtk/go_button_gtk.h index e69f842..0b41c6a 100644 --- a/chrome/browser/gtk/go_button_gtk.h +++ b/chrome/browser/gtk/go_button_gtk.h @@ -27,14 +27,9 @@ class GoButtonGtk { GtkWidget* widget() const { return widget_.get(); } ButtonState state() const { return state_; } - // Force the button state. Useful for when the foreground tab changes. - void ChangeMode(Mode mode); - - // Ask for a specified button state. This is called when the loading state of - // the tab changes. This method may postpone the actual ChangeMode() call - // until another event (such as waiting for a potential double click to end, - // or for the mouse to stop hovering over the button). - void ScheduleChangeMode(Mode mode); + // Ask for a specified button state. If |force| is true this will be applied + // immediately. + void ChangeMode(Mode mode, bool force); private: friend class GoButtonGtkPeer; |