summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk
diff options
context:
space:
mode:
authorfinnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-22 20:28:12 +0000
committerfinnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-22 20:28:12 +0000
commite491f1cb8247090047bd8c895e9bd2bf4de5ee5a (patch)
treedf56a34ca44028d65cde514853cb3feda0c8b839 /chrome/browser/gtk
parent44c875a167d5ce78000d8843190a8c22d2236e54 (diff)
downloadchromium_src-e491f1cb8247090047bd8c895e9bd2bf4de5ee5a.zip
chromium_src-e491f1cb8247090047bd8c895e9bd2bf4de5ee5a.tar.gz
chromium_src-e491f1cb8247090047bd8c895e9bd2bf4de5ee5a.tar.bz2
Fix bug 12468 where F3 (FindNext) in a brand new tab was not using prepopulated search (what you have searched for in other tabs).
TEST=Covered by in-process-browser test now. To test manually: open a tab, search for something in FindInPage, Press Ctrl+T and then F3. It should search for the same thing in the newly opened tab. BUG=12468 Review URL: http://codereview.chromium.org/115714 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16786 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk')
-rw-r--r--chrome/browser/gtk/find_bar_gtk.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/gtk/find_bar_gtk.cc b/chrome/browser/gtk/find_bar_gtk.cc
index d4c3c9b..73f5c11 100644
--- a/chrome/browser/gtk/find_bar_gtk.cc
+++ b/chrome/browser/gtk/find_bar_gtk.cc
@@ -322,7 +322,8 @@ void FindBarGtk::FindEntryTextInContents(bool forward_search) {
std::string new_contents(gtk_entry_get_text(GTK_ENTRY(text_entry_)));
if (new_contents.length() > 0) {
- tab_contents->StartFinding(UTF8ToUTF16(new_contents), forward_search);
+ tab_contents->StartFinding(UTF8ToUTF16(new_contents), forward_search,
+ false); // Not case sensitive.
} else {
// The textbox is empty so we reset.
tab_contents->StopFinding(true); // true = clear selection on page.