summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/find_bar_gtk.h
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-26 23:18:54 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-26 23:18:54 +0000
commit767eed2cb4dfbdd57b14aafb85ab0a7570f71a7c (patch)
tree7c96818400ac6c68bead8b60188cdf9a51de5b20 /chrome/browser/gtk/find_bar_gtk.h
parent9eb85f5502b8e304e008a4e3465efbff6e158296 (diff)
downloadchromium_src-767eed2cb4dfbdd57b14aafb85ab0a7570f71a7c.zip
chromium_src-767eed2cb4dfbdd57b14aafb85ab0a7570f71a7c.tar.gz
chromium_src-767eed2cb4dfbdd57b14aafb85ab0a7570f71a7c.tar.bz2
GTK Themes: Fix the find bar so the match count is inside the entry.
In addition, only draw the dirty rectangle area when manually drawing a gtk entry. http://crbug.com/17962 Review URL: http://codereview.chromium.org/174577 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24558 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/find_bar_gtk.h')
-rw-r--r--chrome/browser/gtk/find_bar_gtk.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/chrome/browser/gtk/find_bar_gtk.h b/chrome/browser/gtk/find_bar_gtk.h
index e26fd07..336316d 100644
--- a/chrome/browser/gtk/find_bar_gtk.h
+++ b/chrome/browser/gtk/find_bar_gtk.h
@@ -115,6 +115,11 @@ class FindBarGtk : public FindBar,
static gboolean OnExpose(GtkWidget* widget, GdkEventExpose* event,
FindBarGtk* bar);
+ // Expose that draws the text entry background in GTK mode.
+ static gboolean OnContentEventBoxExpose(GtkWidget* widget,
+ GdkEventExpose* event,
+ FindBarGtk* bar);
+
// These are both used for focus management.
static gboolean OnFocus(GtkWidget* text_entry, GtkDirectionType focus,
FindBarGtk* find_bar);
@@ -151,10 +156,13 @@ class FindBarGtk : public FindBar,
// An event box and alignment that wrap the entry area and the count label.
GtkWidget* content_event_box_;
+ GtkWidget* content_alignment_;
// The border around the text entry area.
GtkWidget* border_bin_;
+ GtkWidget* border_bin_alignment_;
GtkWidget* border_bin_aa_;
+ GtkWidget* border_bin_aa_alignment_;
// The next and previous match buttons.
scoped_ptr<CustomDrawButton> find_previous_button_;