From 6545f1cdbbe569d404f916bef157f201028b63a0 Mon Sep 17 00:00:00 2001 From: "ben@chromium.org" Date: Fri, 11 Feb 2011 16:51:25 +0000 Subject: Adds the ability to construct a KeyEvent from a NativeEvent[2], and converts some code to use it. Removes some of the Windows-specific stuff from KeyEvent. BUG=72040 TEST=none Review URL: http://codereview.chromium.org/6487002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74614 0039d316-1c4b-4281-b951-d872f2087c98 --- views/focus/accelerator_handler_touch.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'views/focus/accelerator_handler_touch.cc') diff --git a/views/focus/accelerator_handler_touch.cc b/views/focus/accelerator_handler_touch.cc index ec3b750..c00edfc 100644 --- a/views/focus/accelerator_handler_touch.cc +++ b/views/focus/accelerator_handler_touch.cc @@ -164,7 +164,7 @@ bool DispatchXEvent(XEvent* xev) { switch (xev->type) { case KeyPress: case KeyRelease: { - KeyEvent keyev(xev); + KeyEvent keyev(xev, FromNativeEvent2); return root->ProcessKeyEvent(keyev); } -- cgit v1.1