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

Issue 399443004: Maintain Diamond (F15) modifier state when rewriting. (Closed)

Created:
6 years, 5 months ago by kpschoedel
Modified:
6 years, 5 months ago
Reviewers:
Daniel Erat, sadrul
CC:
chromium-reviews, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Maintain Diamond (F15) state when rewriting. The ChromeOS Diamond key arrives as F15. Since F15 is not a modifier, we need to track its pressed state explicitly, and apply the selected modifier flag to key and mouse presses that arrive while F15 is down. (Maintaining and applying the modifier state in the rewriter is consistent with how the sticky keys feature is implemented.) TEST=EventRewriterTest.TestRewriteDiamondKey* BUG=390982 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=283791

Patch Set 1 #

Total comments: 2

Patch Set 2 : rebase #

Patch Set 3 : Address review comments (derat). #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -5 lines) Patch
M chrome/browser/chromeos/events/event_rewriter.h View 1 2 1 chunk +8 lines, -1 line 0 comments Download
M chrome/browser/chromeos/events/event_rewriter.cc View 1 2 3 chunks +14 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/events/event_rewriter_unittest.cc View 1 6 chunks +71 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
kpschoedel
6 years, 5 months ago (2014-07-15 22:07:54 UTC) #1
Daniel Erat
lgtm https://codereview.chromium.org/399443004/diff/1/chrome/browser/chromeos/events/event_rewriter.h File chrome/browser/chromeos/events/event_rewriter.h (right): https://codereview.chromium.org/399443004/diff/1/chrome/browser/chromeos/events/event_rewriter.h#newcode188 chrome/browser/chromeos/events/event_rewriter.h:188: int active_diamond_modifier_; nit: document what this actually holds ...
6 years, 5 months ago (2014-07-15 23:53:25 UTC) #2
sadrul
rslgtm
6 years, 5 months ago (2014-07-16 05:02:19 UTC) #3
kpschoedel
The CQ bit was checked by kpschoedel@chromium.org
6 years, 5 months ago (2014-07-16 14:19:38 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kpschoedel@chromium.org/399443004/1
6 years, 5 months ago (2014-07-16 14:22:14 UTC) #5
Daniel Erat
The CQ bit was unchecked by derat@chromium.org
6 years, 5 months ago (2014-07-16 14:42:53 UTC) #6
Daniel Erat
(sorry, unchecking cq bit since i think you didn't see my comment)
6 years, 5 months ago (2014-07-16 14:43:11 UTC) #7
kpschoedel
On 2014/07/16 14:43:11, Daniel Erat wrote: > (sorry, unchecking cq bit since i think you ...
6 years, 5 months ago (2014-07-16 14:46:40 UTC) #8
kpschoedel
https://codereview.chromium.org/399443004/diff/1/chrome/browser/chromeos/events/event_rewriter.h File chrome/browser/chromeos/events/event_rewriter.h (right): https://codereview.chromium.org/399443004/diff/1/chrome/browser/chromeos/events/event_rewriter.h#newcode188 chrome/browser/chromeos/events/event_rewriter.h:188: int active_diamond_modifier_; On 2014/07/15 23:53:25, Daniel Erat wrote: > ...
6 years, 5 months ago (2014-07-16 15:12:28 UTC) #9
Daniel Erat
lgtm
6 years, 5 months ago (2014-07-16 15:22:12 UTC) #10
kpschoedel
The CQ bit was checked by kpschoedel@chromium.org
6 years, 5 months ago (2014-07-16 16:38:28 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kpschoedel@chromium.org/399443004/50001
6 years, 5 months ago (2014-07-16 16:40:10 UTC) #12
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: mac_chromium_rel on tryserver.chromium ...
6 years, 5 months ago (2014-07-16 19:22:01 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-17 09:24:39 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: win_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu_triggered_tests/builds/29027)
6 years, 5 months ago (2014-07-17 09:24:40 UTC) #15
kpschoedel
The CQ bit was checked by kpschoedel@chromium.org
6 years, 5 months ago (2014-07-17 15:04:37 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kpschoedel@chromium.org/399443004/50001
6 years, 5 months ago (2014-07-17 15:05:16 UTC) #17
commit-bot: I haz the power
6 years, 5 months ago (2014-07-17 16:20:45 UTC) #18
Message was sent while issue was closed.
Change committed as 283791

Powered by Google App Engine
This is Rietveld 408576698