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

Issue 9838010: Automatically remap Command key on an Apple keyboard to Control [part 1 of 2 - Ash part] (Closed)

Created:
8 years, 9 months ago by Yusuke Sato
Modified:
8 years, 9 months ago
Reviewers:
Daniel Erat
CC:
chromium-reviews, sadrul, nkostylev+watch_chromium.org, derat+watch_chromium.org, ben+watch_chromium.org, dhollowa+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, yusukes+watch_chromium.org
Visibility:
Public.

Description

Automatically remap Command key on an Apple keyboard to Control [part 1 of 2 - Ash part] Add key_rewriter_event_filter.h which allows its delegate to rewrite or delete an aura::KeyEvent. The new interface will be used for implementing the following three features: * crosbug.com/25097: Remap keys on external keyboards (R19) * crosbug.com/27167: Consider adding a way to send function keys to web pages (R20) * crbug.com/115112: Move modifier remapping code from X to Chrome (M20) Part 2 of 2: http://codereview.chromium.org/9854025/ BUG=chromium-os:25097 BUG=chromium-os:27167 BUG=115112 TEST=try Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=129076

Patch Set 1 : wip - dummy keycode #

Patch Set 2 : review #

Patch Set 3 : split Chrome part #

Total comments: 2

Patch Set 4 : review fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+165 lines, -5 lines) Patch
M ash/ash.gyp View 1 2 chunks +3 lines, -0 lines 0 comments Download
A ash/key_rewriter_delegate.h View 1 2 3 1 chunk +33 lines, -0 lines 0 comments Download
M ash/shell.h View 1 2 3 4 chunks +9 lines, -2 lines 0 comments Download
M ash/shell.cc View 1 3 chunks +9 lines, -3 lines 0 comments Download
A ash/wm/key_rewriter_event_filter.h View 1 2 3 1 chunk +50 lines, -0 lines 0 comments Download
A ash/wm/key_rewriter_event_filter.cc View 1 2 3 1 chunk +61 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Yusuke Sato
Daniel, could you review this?
8 years, 9 months ago (2012-03-26 15:01:50 UTC) #1
Daniel Erat
http://codereview.chromium.org/9838010/diff/12001/ash/key_rewriter_delegate.h File ash/key_rewriter_delegate.h (right): http://codereview.chromium.org/9838010/diff/12001/ash/key_rewriter_delegate.h#newcode23 ash/key_rewriter_delegate.h:23: virtual bool RewriteOrFilterKeyEvent(aura::KeyEvent* event) = 0; i never know ...
8 years, 9 months ago (2012-03-26 15:40:30 UTC) #2
Yusuke Sato
http://codereview.chromium.org/9838010/diff/12001/ash/key_rewriter_delegate.h File ash/key_rewriter_delegate.h (right): http://codereview.chromium.org/9838010/diff/12001/ash/key_rewriter_delegate.h#newcode23 ash/key_rewriter_delegate.h:23: virtual bool RewriteOrFilterKeyEvent(aura::KeyEvent* event) = 0; On 2012/03/26 15:40:30, ...
8 years, 9 months ago (2012-03-26 16:06:28 UTC) #3
Daniel Erat
8 years, 9 months ago (2012-03-26 16:18:38 UTC) #4
lgtm

Powered by Google App Engine
This is Rietveld 408576698