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

Issue 9704016: [Chromoting] USB -> Mac keycode data. (Closed)

Created:
8 years, 9 months ago by garykac
Modified:
8 years, 9 months ago
Reviewers:
Wez
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

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 10

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+351 lines, -300 lines) Patch
M remoting/host/event_executor_mac.cc View 1 2 3 5 chunks +102 lines, -60 lines 0 comments Download
M remoting/host/usb_keycode_map.h View 4 chunks +249 lines, -240 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
garykac
8 years, 9 months ago (2012-03-14 15:41:17 UTC) #1
Wez
lgtm http://codereview.chromium.org/9704016/diff/4001/remoting/host/event_executor_mac.cc File remoting/host/event_executor_mac.cc (right): http://codereview.chromium.org/9704016/diff/4001/remoting/host/event_executor_mac.cc#newcode25 remoting/host/event_executor_mac.cc:25: #define INVALID_KEYCODE 0xffff nit: It seems strange to ...
8 years, 9 months ago (2012-03-14 17:55:29 UTC) #2
garykac
http://codereview.chromium.org/9704016/diff/4001/remoting/host/event_executor_mac.cc File remoting/host/event_executor_mac.cc (right): http://codereview.chromium.org/9704016/diff/4001/remoting/host/event_executor_mac.cc#newcode25 remoting/host/event_executor_mac.cc:25: #define INVALID_KEYCODE 0xffff On 2012/03/14 17:55:29, Wez wrote: > ...
8 years, 9 months ago (2012-03-14 18:25:44 UTC) #3
Wez
8 years, 9 months ago (2012-03-14 20:38:01 UTC) #4
http://codereview.chromium.org/9704016/diff/4001/remoting/host/event_executor...
File remoting/host/event_executor_mac.cc (right):

http://codereview.chromium.org/9704016/diff/4001/remoting/host/event_executor...
remoting/host/event_executor_mac.cc:25: #define INVALID_KEYCODE 0xffff
On 2012/03/14 18:25:44, garykac wrote:
> On 2012/03/14 17:55:29, Wez wrote:
> > nit: It seems strange to define INVALID_KEYCODE and then not use it in the
> > actual tables.
> 
> I did initially, but it made the table look heavy with all the UPPER_CASE
> DEFINE_MACROS.
> 
> I'll re-add it.

This was a nit; if it makes the table heavy then feel free to ignore, and just
add a comment to document the difference in invalid codes.

Powered by Google App Engine
This is Rietveld 408576698