summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/find_bar_gtk.h
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-14 15:53:13 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-14 15:53:13 +0000
commitc07cfb808dbd642bb3385f974be296797bd34524 (patch)
tree2834f7923f749d5fdc1246888ca7caf5b0cf507f /chrome/browser/gtk/find_bar_gtk.h
parenta68b966e94845efaa30dae71f4ca7c324eba57b9 (diff)
downloadchromium_src-c07cfb808dbd642bb3385f974be296797bd34524.zip
chromium_src-c07cfb808dbd642bb3385f974be296797bd34524.tar.gz
chromium_src-c07cfb808dbd642bb3385f974be296797bd34524.tar.bz2
Add match count text to the GTK find bar. This also makes the bar wider.
The match count text doesn't currently show up realiably because the data in the find reply is bad. I believe this is bug 11761. The clicker checking code has been moved to the cross-platform FindBarController so it doesn't have to be duplicated for each platform. This also add IntToString16. I didnt add all the variants now. The *Wstring versions should all eventually be changed to string16. http://crbug.com/11750 Review URL: http://codereview.chromium.org/114023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16058 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, 7 insertions, 1 deletions
diff --git a/chrome/browser/gtk/find_bar_gtk.h b/chrome/browser/gtk/find_bar_gtk.h
index 585cf48..571d763 100644
--- a/chrome/browser/gtk/find_bar_gtk.h
+++ b/chrome/browser/gtk/find_bar_gtk.h
@@ -107,15 +107,21 @@ class FindBarGtk : public FindBar,
bool container_shaped_;
// The widget where text is entered.
- GtkWidget* find_text_;
+ GtkWidget* text_entry_;
// The next and previous match buttons.
scoped_ptr<CustomDrawButton> find_previous_button_;
scoped_ptr<CustomDrawButton> find_next_button_;
+ // The GtkLabel listing how many results were found.
+ GtkWidget* match_count_label_;
+
// The X to close the find bar.
scoped_ptr<CustomDrawButton> close_button_;
+ // The last matchcount number we reported to the user.
+ int last_reported_matchcount_;
+
// Pointer back to the owning controller.
FindBarController* find_bar_controller_;