diff options
author | wez@chromium.org <wez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-01 11:31:59 +0000 |
---|---|---|
committer | wez@chromium.org <wez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-01 11:31:59 +0000 |
commit | 6c75e5d058ca656d13bf255259650e035281467e (patch) | |
tree | 583e31b9cf864a4d5f7704c0a66587adef3793e5 /remoting/client | |
parent | e3f4e6e1f85eacf07766392aad545c2c6f44d0fa (diff) | |
download | chromium_src-6c75e5d058ca656d13bf255259650e035281467e.zip chromium_src-6c75e5d058ca656d13bf255259650e035281467e.tar.gz chromium_src-6c75e5d058ca656d13bf255259650e035281467e.tar.bz2 |
Add some missing VK to KeySym mappings, and some logging to aid debug.
BUG=73733
TEST=See bug repro steps.
Review URL: http://codereview.chromium.org/6592036
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76369 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/client')
-rw-r--r-- | remoting/client/plugin/chromoting_instance.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/remoting/client/plugin/chromoting_instance.cc b/remoting/client/plugin/chromoting_instance.cc index bb944d0..eacd49e 100644 --- a/remoting/client/plugin/chromoting_instance.cc +++ b/remoting/client/plugin/chromoting_instance.cc @@ -163,6 +163,9 @@ bool ChromotingInstance::HandleInputEvent(const PP_InputEvent& event) { case PP_INPUTEVENT_TYPE_KEYDOWN: case PP_INPUTEVENT_TYPE_KEYUP: + VLOG(3) << "PP_INPUTEVENT_TYPE_KEY" + << (event.type==PP_INPUTEVENT_TYPE_KEYDOWN ? "DOWN" : "UP") + << " key=" << event.u.key.key_code; pih->HandleKeyEvent(event.type == PP_INPUTEVENT_TYPE_KEYDOWN, event.u.key); return true; |