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

Issue 10756003: Apply Ash's key rewriter to an aura::MouseEvent so that Modifler+Click is handled correctly (Closed)

Created:
8 years, 5 months ago by Yusuke Sato
Modified:
8 years, 5 months ago
CC:
chromium-reviews, sadrul, ben+watch_chromium.org
Visibility:
Public.

Description

Apply Ash's key rewriter to an aura::MouseEvent so that Modifler+Click is handled correctly. For example, when Ctrl is remapped to Alt, Ctrl+LeftButton should be handled as a RightButton click. BUG=133510 TEST=mostly covered by existing unit_tests for key_rewriter. Also checked that crbug.com/126529 does not reproduce with this CL. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=146132

Patch Set 1 #

Total comments: 4

Patch Set 2 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+124 lines, -63 lines) Patch
M ash/key_rewriter_delegate.h View 2 chunks +2 lines, -0 lines 0 comments Download
M ash/wm/key_rewriter_event_filter.cc View 1 chunk +12 lines, -1 line 0 comments Download
M chrome/browser/ui/views/ash/key_rewriter.h View 1 3 chunks +12 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/ash/key_rewriter.cc View 1 5 chunks +98 lines, -34 lines 0 comments Download
M ui/aura/dispatcher_linux.cc View 2 chunks +0 lines, -28 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Yusuke Sato
8 years, 5 months ago (2012-07-09 17:31:34 UTC) #1
Daniel Erat
LGTM Should KeyRewriter be renamed to something like EventRewriter, InputRewriter, or InputEventRewriter? It can happen ...
8 years, 5 months ago (2012-07-09 18:18:28 UTC) #2
Yusuke Sato
Fixed all. +sky Could you review ui/aura/? http://codereview.chromium.org/10756003/diff/1/chrome/browser/ui/views/ash/key_rewriter.cc File chrome/browser/ui/views/ash/key_rewriter.cc (right): http://codereview.chromium.org/10756003/diff/1/chrome/browser/ui/views/ash/key_rewriter.cc#newcode201 chrome/browser/ui/views/ash/key_rewriter.cc:201: return kActionRewrite; ...
8 years, 5 months ago (2012-07-09 20:36:49 UTC) #3
Yusuke Sato
+ben for ui/aura/. On 2012/07/09 20:36:49, Yusuke Sato wrote: > Fixed all. > > +sky ...
8 years, 5 months ago (2012-07-10 16:30:56 UTC) #4
Ben Goodger (Google)
lgtm
8 years, 5 months ago (2012-07-11 15:40:45 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yusukes@chromium.org/10756003/8001
8 years, 5 months ago (2012-07-11 16:18:26 UTC) #6
commit-bot: I haz the power
8 years, 5 months ago (2012-07-11 17:19:22 UTC) #7
Change committed as 146132

Powered by Google App Engine
This is Rietveld 408576698