Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1096)

Unified Diff: chrome/browser/views/find_bar_host_win.cc

Issue 220019: A refactor broke the find bar...characters like ! and ( ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/views/find_bar_host_win.cc
===================================================================
--- chrome/browser/views/find_bar_host_win.cc (revision 26955)
+++ chrome/browser/views/find_bar_host_win.cc (working copy)
@@ -189,3 +189,9 @@
return browser_view->GetWidget()->GetNativeView();
}
+bool FindBarHost::ShouldForwardKeystrokeToWebpageNative(
+ const views::Textfield::Keystroke& key_stroke) {
+ // We specifically ignore WM_CHAR. See http://crbug.com/10509.
+ return key_stroke.message() == WM_KEYDOWN || key_stroke.message() == WM_KEYUP;
+}
+
« chrome/browser/views/find_bar_host.cc ('K') | « chrome/browser/views/find_bar_host_gtk.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698