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

Issue 10025001: Add APIs to the client plugin to re-map and trap key events. (Closed)

Created:
8 years, 8 months ago by Wez
Modified:
8 years, 8 months ago
Reviewers:
Sergey Ulanov
CC:
chromium-reviews, jamiewalch+watch_chromium.org, dcaiafa+watch_chromium.org, simonmorris+watch_chromium.org, hclam+watch_chromium.org, wez+watch_chromium.org, amit, sanjeevr, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

Add APIs to the client plugin to re-map and trap key events. Re-mapped events allow keys to be re-mapped by the plugin before being delivered to the host. Trapped events are posted to the web-app in a trappedKeyEvent message, allowing more complex processing to be performed, at the cost of higher input latency. BUG=121787 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=131321

Patch Set 1 #

Patch Set 2 : Remove bogus extra files. #

Total comments: 14

Patch Set 3 : Address comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+324 lines, -2 lines) Patch
A remoting/client/key_event_mapper.h View 1 2 1 chunk +54 lines, -0 lines 0 comments Download
A remoting/client/key_event_mapper.cc View 1 2 1 chunk +63 lines, -0 lines 0 comments Download
A remoting/client/key_event_mapper_unittest.cc View 1 2 1 chunk +153 lines, -0 lines 0 comments Download
M remoting/client/plugin/chromoting_instance.h View 4 chunks +7 lines, -0 lines 0 comments Download
M remoting/client/plugin/chromoting_instance.cc View 1 2 5 chunks +40 lines, -2 lines 0 comments Download
M remoting/protocol/input_filter.h View 1 chunk +1 line, -0 lines 0 comments Download
M remoting/protocol/input_filter.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M remoting/remoting.gyp View 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Wez
PTAL
8 years, 8 months ago (2012-04-06 23:51:07 UTC) #1
Sergey Ulanov
LGTM with my nits addressed. http://codereview.chromium.org/10025001/diff/2001/remoting/client/key_event_mapper.cc File remoting/client/key_event_mapper.cc (right): http://codereview.chromium.org/10025001/diff/2001/remoting/client/key_event_mapper.cc#newcode26 remoting/client/key_event_mapper.cc:26: trapped_keys.insert(usb_keycode); Add {} http://codereview.chromium.org/10025001/diff/2001/remoting/client/key_event_mapper.cc#newcode33 ...
8 years, 8 months ago (2012-04-07 01:50:14 UTC) #2
Wez
http://codereview.chromium.org/10025001/diff/2001/remoting/client/key_event_mapper.cc File remoting/client/key_event_mapper.cc (right): http://codereview.chromium.org/10025001/diff/2001/remoting/client/key_event_mapper.cc#newcode26 remoting/client/key_event_mapper.cc:26: trapped_keys.insert(usb_keycode); On 2012/04/07 01:50:14, sergeyu wrote: > Add {} ...
8 years, 8 months ago (2012-04-08 00:12:41 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wez@chromium.org/10025001/4002
8 years, 8 months ago (2012-04-08 00:19:37 UTC) #4
commit-bot: I haz the power
Try job failure for 10025001-4002 (retry) on win_rel for step "browser_tests". It's a second try, ...
8 years, 8 months ago (2012-04-08 04:22:51 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wez@chromium.org/10025001/4002
8 years, 8 months ago (2012-04-09 00:02:03 UTC) #6
commit-bot: I haz the power
8 years, 8 months ago (2012-04-09 02:22:25 UTC) #7
Change committed as 131321

Powered by Google App Engine
This is Rietveld 408576698