summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/find_bar_gtk.h
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-21 19:57:00 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-21 19:57:00 +0000
commit1ba48dd0630846f6c7e9ebd3ec16335fbb7b8c58 (patch)
tree2b83df446bac218feb31d62e42978be4315d9157 /chrome/browser/gtk/find_bar_gtk.h
parent8e0dffdf956edcebcee147e4f7df472fb9bde567 (diff)
downloadchromium_src-1ba48dd0630846f6c7e9ebd3ec16335fbb7b8c58.zip
chromium_src-1ba48dd0630846f6c7e9ebd3ec16335fbb7b8c58.tar.gz
chromium_src-1ba48dd0630846f6c7e9ebd3ec16335fbb7b8c58.tar.bz2
Findbar stuff:
- change dialog shape correctly when theme changes - vertically center the match label in gtk theme mode - update the match label colors when theme changes BUG=19726 Review URL: http://codereview.chromium.org/173176 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24001 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/find_bar_gtk.h')
-rw-r--r--chrome/browser/gtk/find_bar_gtk.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/gtk/find_bar_gtk.h b/chrome/browser/gtk/find_bar_gtk.h
index aa8dc93..407e86f 100644
--- a/chrome/browser/gtk/find_bar_gtk.h
+++ b/chrome/browser/gtk/find_bar_gtk.h
@@ -160,6 +160,9 @@ class FindBarGtk : public FindBar,
// The GtkLabel listing how many results were found.
GtkWidget* match_count_label_;
GtkWidget* match_count_event_box_;
+ // Cache whether the match count label is showing failure or not so that
+ // we can update its appearance without changing its semantics.
+ bool match_label_failure_;
// The X to close the find bar.
scoped_ptr<CustomDrawButton> close_button_;