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

Issue 394553002: Add EF_FINAL_MODIFIERS to suppress remapping. (Closed)

Created:
6 years, 5 months ago by kpschoedel
Modified:
6 years, 5 months ago
Reviewers:
Daniel Erat, sadrul
CC:
chromium-reviews, tdresser+watch_chromium.org, 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

Add EF_FINAL_MODIFIERS to suppress remapping. Add EF_FINAL_MODIFIERS to ui::KeyEventFlags to suppress modifier key remapping on artifical events. This replaces using the X11 send_event field. BUG=380349 TEST=EventRewriterTest.TestRewriteKeyEventSentByXSendEvent R=sadrul@chromium.org,derat@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284085

Patch Set 1 #

Total comments: 5

Patch Set 2 : Address review comments (sadrul) #

Patch Set 3 : Restore guard on rewriting extended and function keys. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -17 lines) Patch
M chrome/browser/chromeos/events/event_rewriter.cc View 1 2 3 chunks +4 lines, -14 lines 0 comments Download
M chrome/browser/chromeos/events/event_rewriter_unittest.cc View 1 2 2 chunks +11 lines, -3 lines 0 comments Download
M ui/events/event_constants.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M ui/events/x/events_x.cc View 1 2 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
kpschoedel
One of several CLs for issue 380349 — Remove exposed dependencies on X11 for ui::KeyEvent
6 years, 5 months ago (2014-07-14 17:43:38 UTC) #1
Daniel Erat
lgtm, but please wait for sadrul's review
6 years, 5 months ago (2014-07-14 18:07:17 UTC) #2
sadrul
https://codereview.chromium.org/394553002/diff/1/chrome/browser/chromeos/events/event_rewriter.cc File chrome/browser/chromeos/events/event_rewriter.cc (left): https://codereview.chromium.org/394553002/diff/1/chrome/browser/chromeos/events/event_rewriter.cc#oldcode404 chrome/browser/chromeos/events/event_rewriter.cc:404: if (!is_send_event) { Do you not need the check ...
6 years, 5 months ago (2014-07-15 04:48:07 UTC) #3
kpschoedel
https://codereview.chromium.org/394553002/diff/1/chrome/browser/chromeos/events/event_rewriter.cc File chrome/browser/chromeos/events/event_rewriter.cc (left): https://codereview.chromium.org/394553002/diff/1/chrome/browser/chromeos/events/event_rewriter.cc#oldcode404 chrome/browser/chromeos/events/event_rewriter.cc:404: if (!is_send_event) { On 2014/07/15 04:48:07, sadrul wrote: > ...
6 years, 5 months ago (2014-07-15 14:27:46 UTC) #4
sadrul
The test failure looks related. Mind taking a look?
6 years, 5 months ago (2014-07-15 22:44:46 UTC) #5
kpschoedel
On 2014/07/15 22:44:46, sadrul wrote: > The test failure looks related. Mind taking a look? ...
6 years, 5 months ago (2014-07-15 22:51:46 UTC) #6
sadrul
On 2014/07/15 22:51:46, kpschoedel wrote: > On 2014/07/15 22:44:46, sadrul wrote: > > The test ...
6 years, 5 months ago (2014-07-15 22:54:06 UTC) #7
kpschoedel
https://codereview.chromium.org/394553002/diff/1/chrome/browser/chromeos/events/event_rewriter.cc File chrome/browser/chromeos/events/event_rewriter.cc (left): https://codereview.chromium.org/394553002/diff/1/chrome/browser/chromeos/events/event_rewriter.cc#oldcode404 chrome/browser/chromeos/events/event_rewriter.cc:404: if (!is_send_event) { On 2014/07/15 04:48:07, sadrul wrote: > ...
6 years, 5 months ago (2014-07-16 20:18:26 UTC) #8
kpschoedel
The CQ bit was checked by kpschoedel@chromium.org
6 years, 5 months ago (2014-07-17 18:48:37 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kpschoedel@chromium.org/394553002/40001
6 years, 5 months ago (2014-07-17 18:51:44 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium ...
6 years, 5 months ago (2014-07-17 22:03:45 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-17 22:25:51 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_triggered_tests on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_dbg_triggered_tests/builds/172138)
6 years, 5 months ago (2014-07-17 22:25:52 UTC) #13
kpschoedel
The CQ bit was checked by kpschoedel@chromium.org
6 years, 5 months ago (2014-07-18 13:59:56 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kpschoedel@chromium.org/394553002/40001
6 years, 5 months ago (2014-07-18 14:02:11 UTC) #15
commit-bot: I haz the power
6 years, 5 months ago (2014-07-18 14:06:15 UTC) #16
Message was sent while issue was closed.
Change committed as 284085

Powered by Google App Engine
This is Rietveld 408576698