From ba9f91ad7c36842828979e53d1ef75df20a8245b Mon Sep 17 00:00:00 2001 From: "pkasting@chromium.org" Date: Wed, 15 Apr 2009 18:40:39 +0000 Subject: 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 --- chrome/browser/gtk/go_button_gtk.h | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'chrome/browser/gtk/go_button_gtk.h') 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; -- cgit v1.1