summaryrefslogtreecommitdiffstats
path: root/views/event_win.cc
diff options
context:
space:
mode:
authorjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-28 21:32:30 +0000
committerjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-28 21:32:30 +0000
commita4d271ecbea5ed763d49919fac7bfabe788832f6 (patch)
treec646a4d085142007968138c7ad26d1fb2aafe6a9 /views/event_win.cc
parent19ff283d0e043c59206fdc2e890a2780933849fe (diff)
downloadchromium_src-a4d271ecbea5ed763d49919fac7bfabe788832f6.zip
chromium_src-a4d271ecbea5ed763d49919fac7bfabe788832f6.tar.gz
chromium_src-a4d271ecbea5ed763d49919fac7bfabe788832f6.tar.bz2
Reverting 27412 it breaks the toolkit views Linux build.
TBR=sky Review URL: http://codereview.chromium.org/254005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27416 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/event_win.cc')
-rw-r--r--views/event_win.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/views/event_win.cc b/views/event_win.cc
index da6457e..28d1330 100644
--- a/views/event_win.cc
+++ b/views/event_win.cc
@@ -37,13 +37,12 @@ int Event::ConvertWindowsFlags(UINT win_flags) {
return r;
}
-KeyEvent::KeyEvent(EventType type, base::KeyboardCode key_code,
- int repeat_count, int message_flags)
+KeyEvent::KeyEvent(EventType type, int ch, int repeat_count, int message_flags)
: Event(type, GetKeyStateFlags()),
- key_code_(key_code),
+ character_(ch),
repeat_count_(repeat_count),
message_flags_(message_flags) {
-}
+ }
int KeyEvent::GetKeyStateFlags() const {
// Windows Keyboard messages don't come with control key state as parameters