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

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

Issue 6487002: Add a new constructor to KeyEvent. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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
« no previous file with comments | « chrome/browser/ui/views/dropdown_bar_host_win.cc ('k') | chrome/browser/ui/views/frame/browser_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/find_bar_host_win.cc
===================================================================
--- chrome/browser/ui/views/find_bar_host_win.cc (revision 74437)
+++ chrome/browser/ui/views/find_bar_host_win.cc (working copy)
@@ -31,5 +31,6 @@
bool FindBarHost::ShouldForwardKeyEventToWebpageNative(
const views::KeyEvent& key_event) {
// We specifically ignore WM_CHAR. See http://crbug.com/10509.
- return key_event.message() == WM_KEYDOWN || key_event.message() == WM_KEYUP;
+ return key_event.native_event().message == WM_KEYDOWN ||
+ key_event.native_event().message == WM_KEYUP;
}
« no previous file with comments | « chrome/browser/ui/views/dropdown_bar_host_win.cc ('k') | chrome/browser/ui/views/frame/browser_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698