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

Unified Diff: views/focus/accelerator_handler_touch.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 | « views/focus/accelerator_handler.h ('k') | views/focus/accelerator_handler_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/focus/accelerator_handler_touch.cc
===================================================================
--- views/focus/accelerator_handler_touch.cc (revision 74437)
+++ views/focus/accelerator_handler_touch.cc (working copy)
@@ -164,7 +164,7 @@
switch (xev->type) {
case KeyPress:
case KeyRelease: {
- KeyEvent keyev(xev);
+ KeyEvent keyev(xev, FromNativeEvent2);
return root->ProcessKeyEvent(keyev);
}
« no previous file with comments | « views/focus/accelerator_handler.h ('k') | views/focus/accelerator_handler_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698