From becc74d952f4c8bb2f8a18e058bebfac858eb593 Mon Sep 17 00:00:00 2001 From: "hbono@chromium.org" Date: Tue, 23 Jun 2009 11:13:03 +0000 Subject: Revert 19009 because this prevents inserting return characters. TBR=evan BUG=10953 "IME support" BUG=11226 "Dead keys and accents input not working" BUG=13604 "Hotkeys not working in non-us keyboard layout" TEST=none Review URL: http://codereview.chromium.org/147010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19015 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/common/native_web_keyboard_event.h | 1 - chrome/common/native_web_keyboard_event_linux.cc | 7 ------- 2 files changed, 8 deletions(-) (limited to 'chrome/common') diff --git a/chrome/common/native_web_keyboard_event.h b/chrome/common/native_web_keyboard_event.h index 4c25979..8dece32 100644 --- a/chrome/common/native_web_keyboard_event.h +++ b/chrome/common/native_web_keyboard_event.h @@ -31,7 +31,6 @@ struct NativeWebKeyboardEvent : public WebKit::WebKeyboardEvent { explicit NativeWebKeyboardEvent(NSEvent *event); #elif defined(OS_LINUX) explicit NativeWebKeyboardEvent(const GdkEventKey* event); - NativeWebKeyboardEvent(wchar_t character, double time_stamp_seconds); #endif NativeWebKeyboardEvent(const NativeWebKeyboardEvent& event); diff --git a/chrome/common/native_web_keyboard_event_linux.cc b/chrome/common/native_web_keyboard_event_linux.cc index 4ad74a3..ae3b25a 100644 --- a/chrome/common/native_web_keyboard_event_linux.cc +++ b/chrome/common/native_web_keyboard_event_linux.cc @@ -38,13 +38,6 @@ NativeWebKeyboardEvent::NativeWebKeyboardEvent(const GdkEventKey* native_event) CopyEventTo(native_event, &os_event); } -NativeWebKeyboardEvent::NativeWebKeyboardEvent(wchar_t character, - double time_stamp_seconds) - : WebKeyboardEvent(WebInputEventFactory::keyboardEvent(character, - time_stamp_seconds)), - os_event(NULL) { -} - NativeWebKeyboardEvent::NativeWebKeyboardEvent( const NativeWebKeyboardEvent& other) : WebKeyboardEvent(other) { CopyEventTo(other.os_event, &os_event); -- cgit v1.1