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

Unified Diff: ui/events/event_utils.cc

Issue 404203003: Distinguish between keystroke and character events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: IsCharFromNative() for Mac build Created 6 years, 5 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 | « ui/events/event_utils.h ('k') | ui/events/events_stub.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/event_utils.cc
diff --git a/ui/events/event_utils.cc b/ui/events/event_utils.cc
index e4b384a47442200a13e29deb7aefadd74ba297a4..021ac278708168b8344b3f1ca5364c239ee0a27a 100644
--- a/ui/events/event_utils.cc
+++ b/ui/events/event_utils.cc
@@ -22,7 +22,7 @@ scoped_ptr<Event> EventFromNative(const base::NativeEvent& native_event) {
switch(type) {
case ET_KEY_PRESSED:
case ET_KEY_RELEASED:
- event.reset(new KeyEvent(native_event, false));
+ event.reset(new KeyEvent(native_event));
break;
case ET_TRANSLATED_KEY_PRESS:
« no previous file with comments | « ui/events/event_utils.h ('k') | ui/events/events_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698