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

Issue 248343002: Convert chromeos::EventRewriter to a ui::EventRewriter (Closed)

Created:
6 years, 8 months ago by kpschoedel
Modified:
6 years, 7 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@x354034-kder
Visibility:
Public.

Description

Convert chromeos::EventRewriter to a ui::EventRewriter StickyKeys (crbug.com/354035) and device IDs (crbug.com/360377) remain to be converted. BUG=354034 TEST=unit_test R=sadrul@chromium.org,derat@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=267578

Patch Set 1 #

Total comments: 28

Patch Set 2 : Addressed review comments #

Total comments: 1

Patch Set 3 : Sync with https://codereview.chromium.org/240173007/ #

Patch Set 4 : Restore XI2 monitoring for device IDs. #

Total comments: 14

Patch Set 5 : Address comments and format #

Patch Set 6 : Sync with master and 240173007 #

Patch Set 7 : resync to master #

Patch Set 8 : Restore XEvent send_event test #

Patch Set 9 : Fix comments to please lint #

Patch Set 10 : Sync with master for flawless victory #

Patch Set 11 : Bug fix: non-native event under X11 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1272 lines, -2421 lines) Patch
M chrome/browser/chromeos/chrome_browser_main_chromeos.h View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/chrome_browser_main_chromeos.cc View 1 2 3 4 5 6 2 chunks +2 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/events/event_rewriter.h View 1 2 3 4 4 chunks +84 lines, -114 lines 0 comments Download
M chrome/browser/chromeos/events/event_rewriter.cc View 1 2 3 4 5 6 7 8 9 10 14 chunks +454 lines, -627 lines 0 comments Download
M chrome/browser/chromeos/events/event_rewriter_unittest.cc View 1 2 3 4 5 6 7 8 9 10 28 chunks +732 lines, -1669 lines 0 comments Download
M chrome/chrome_browser_chromeos.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -4 lines 0 comments Download

Messages

Total messages: 59 (0 generated)
kpschoedel
Incorporates feedback from https://codereview.chromium.org/237363005/ (closed) Assumes https://codereview.chromium.org/240173007/ Convert KeyboardDrivenEventRewriter to a ui::EventRewriter.
6 years, 8 months ago (2014-04-22 22:31:59 UTC) #1
Daniel Erat
this mostly looks fine to me; i just have some nits. didn't review the tests ...
6 years, 8 months ago (2014-04-22 23:58:35 UTC) #2
kpschoedel
https://codereview.chromium.org/248343002/diff/1/chrome/browser/chromeos/chrome_browser_main_chromeos.cc File chrome/browser/chromeos/chrome_browser_main_chromeos.cc (right): https://codereview.chromium.org/248343002/diff/1/chrome/browser/chromeos/chrome_browser_main_chromeos.cc#newcode712 chrome/browser/chromeos/chrome_browser_main_chromeos.cc:712: scoped_ptr<ui::EventRewriter>(new EventRewriter()).Pass()); On 2014/04/22 23:58:36, Daniel Erat wrote: > ...
6 years, 8 months ago (2014-04-23 15:46:21 UTC) #3
sadrul
I am still reviewing the rest of the patch. But I have a question for ...
6 years, 8 months ago (2014-04-23 19:43:09 UTC) #4
kpschoedel
On 2014/04/23 19:43:09, sadrul wrote: > I am still reviewing the rest of the patch. ...
6 years, 8 months ago (2014-04-23 19:51:07 UTC) #5
sadrul
On 2014/04/23 19:51:07, kpschoedel wrote: > On 2014/04/23 19:43:09, sadrul wrote: > > I am ...
6 years, 8 months ago (2014-04-23 19:54:32 UTC) #6
kpschoedel
On 2014/04/23 19:54:32, sadrul wrote: > On 2014/04/23 19:51:07, kpschoedel wrote: > > On 2014/04/23 ...
6 years, 8 months ago (2014-04-23 19:56:00 UTC) #7
kpschoedel
6 years, 8 months ago (2014-04-24 15:04:37 UTC) #8
Daniel Erat
lgtm for the nits that i called out, but please wait for sadrul's review https://codereview.chromium.org/248343002/diff/80001/chrome/browser/chromeos/events/event_rewriter.cc ...
6 years, 8 months ago (2014-04-24 17:15:15 UTC) #9
sadrul
LGTM with a few more nits https://codereview.chromium.org/248343002/diff/80001/chrome/browser/chromeos/events/event_rewriter.cc File chrome/browser/chromeos/events/event_rewriter.cc (right): https://codereview.chromium.org/248343002/diff/80001/chrome/browser/chromeos/events/event_rewriter.cc#newcode13 chrome/browser/chromeos/events/event_rewriter.cc:13: #endif Conditional includes ...
6 years, 8 months ago (2014-04-25 13:53:27 UTC) #10
kpschoedel
https://codereview.chromium.org/248343002/diff/80001/chrome/browser/chromeos/events/event_rewriter.cc File chrome/browser/chromeos/events/event_rewriter.cc (right): https://codereview.chromium.org/248343002/diff/80001/chrome/browser/chromeos/events/event_rewriter.cc#newcode532 chrome/browser/chromeos/events/event_rewriter.cc:532: ui::EF_COMMAND_DOWN, On 2014/04/25 13:53:27, sadrul wrote: > 4-space indent? ...
6 years, 8 months ago (2014-04-25 15:04:02 UTC) #11
kpschoedel
The CQ bit was checked by kpschoedel@chromium.org
6 years, 7 months ago (2014-04-29 22:13:49 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kpschoedel@chromium.org/248343002/120001
6 years, 7 months ago (2014-04-29 22:17:08 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-29 22:23:51 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg on tryserver.chromium
6 years, 7 months ago (2014-04-29 22:23:52 UTC) #15
kpschoedel
The CQ bit was checked by kpschoedel@chromium.org
6 years, 7 months ago (2014-04-29 22:29:14 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/248343002/120001
6 years, 7 months ago (2014-04-29 22:31:08 UTC) #17
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-29 22:35:38 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg on tryserver.chromium
6 years, 7 months ago (2014-04-29 22:35:39 UTC) #19
sadrul
The CQ bit was checked by sadrul@chromium.org
6 years, 7 months ago (2014-04-30 01:33:36 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kpschoedel@chromium.org/248343002/120001
6 years, 7 months ago (2014-04-30 01:35:18 UTC) #21
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-30 01:41:04 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg on tryserver.chromium
6 years, 7 months ago (2014-04-30 01:41:04 UTC) #23
sadrul
The CQ bit was checked by sadrul@chromium.org
6 years, 7 months ago (2014-04-30 01:55:23 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kpschoedel@chromium.org/248343002/120001
6 years, 7 months ago (2014-04-30 01:56:59 UTC) #25
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-30 02:08:53 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_clang_dbg on tryserver.chromium
6 years, 7 months ago (2014-04-30 02:08:54 UTC) #27
sadrul
The CQ bit was checked by sadrul@chromium.org
6 years, 7 months ago (2014-04-30 02:52:47 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kpschoedel@chromium.org/248343002/120001
6 years, 7 months ago (2014-04-30 02:53:58 UTC) #29
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-30 03:16:09 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel on tryserver.chromium linux_chromium_gn_rel on tryserver.chromium
6 years, 7 months ago (2014-04-30 03:16:10 UTC) #31
kpschoedel
The CQ bit was checked by kpschoedel@chromium.org
6 years, 7 months ago (2014-04-30 15:49:38 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kpschoedel@chromium.org/248343002/140001
6 years, 7 months ago (2014-04-30 15:51:23 UTC) #33
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-30 16:51:11 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel on tryserver.chromium
6 years, 7 months ago (2014-04-30 16:51:12 UTC) #35
kpschoedel
Restoring the XEvent send_event test to RewriteEvent() because interactive_ui_tests uses SendKeyEvent(). c.f. comment on https://codereview.chromium.org/237363005/ ...
6 years, 7 months ago (2014-04-30 19:06:42 UTC) #36
kpschoedel
The CQ bit was checked by kpschoedel@chromium.org
6 years, 7 months ago (2014-04-30 19:08:58 UTC) #37
sadrul
slgtm. There seems to be some valid lint errors. Do you mind running this through ...
6 years, 7 months ago (2014-04-30 19:09:16 UTC) #38
kpschoedel
The CQ bit was unchecked by kpschoedel@chromium.org
6 years, 7 months ago (2014-04-30 19:09:35 UTC) #39
kpschoedel
> There seems to be some valid lint errors. Do you mind running this through ...
6 years, 7 months ago (2014-04-30 19:16:29 UTC) #40
sadrul
On 2014/04/30 19:16:29, kpschoedel wrote: > > There seems to be some valid lint errors. ...
6 years, 7 months ago (2014-04-30 19:19:19 UTC) #41
kpschoedel
Changed comments to please lint. Added non-X11 EventRewriter files to Ozone builds ( following https://codereview.chromium.org/262683003/ ...
6 years, 7 months ago (2014-04-30 19:29:07 UTC) #42
kpschoedel
The CQ bit was checked by kpschoedel@chromium.org
6 years, 7 months ago (2014-04-30 19:29:15 UTC) #43
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kpschoedel@chromium.org/248343002/200001
6 years, 7 months ago (2014-04-30 19:32:28 UTC) #44
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-30 19:32:48 UTC) #45
commit-bot: I haz the power
Failed to apply patch for chrome/chrome_browser_chromeos.gypi: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 7 months ago (2014-04-30 19:32:49 UTC) #46
kpschoedel
The CQ bit was checked by kpschoedel@chromium.org
6 years, 7 months ago (2014-04-30 19:35:38 UTC) #47
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kpschoedel@chromium.org/248343002/200001
6 years, 7 months ago (2014-04-30 19:37:01 UTC) #48
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-30 19:37:51 UTC) #49
commit-bot: I haz the power
Failed to apply patch for chrome/chrome_browser_chromeos.gypi: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 7 months ago (2014-04-30 19:37:52 UTC) #50
kpschoedel
Sync with master.
6 years, 7 months ago (2014-04-30 20:05:46 UTC) #51
kpschoedel
The CQ bit was checked by kpschoedel@chromium.org
6 years, 7 months ago (2014-04-30 20:05:54 UTC) #52
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kpschoedel@chromium.org/248343002/220001
6 years, 7 months ago (2014-04-30 20:07:35 UTC) #53
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-30 21:04:15 UTC) #54
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel on tryserver.chromium
6 years, 7 months ago (2014-04-30 21:04:16 UTC) #55
kpschoedel
All hail the glorious trybots.
6 years, 7 months ago (2014-05-01 15:09:26 UTC) #56
kpschoedel
The CQ bit was checked by kpschoedel@chromium.org
6 years, 7 months ago (2014-05-01 15:13:07 UTC) #57
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kpschoedel@chromium.org/248343002/240001
6 years, 7 months ago (2014-05-01 15:13:46 UTC) #58
commit-bot: I haz the power
6 years, 7 months ago (2014-05-01 18:00:27 UTC) #59
Message was sent while issue was closed.
Change committed as 267578

Powered by Google App Engine
This is Rietveld 408576698