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

Issue 255033003: Convert sticky keys to a chromeos::EventRewriter phase. (Closed)

Created:
6 years, 7 months ago by kpschoedel
Modified:
6 years, 6 months ago
CC:
chromium-reviews, nkostylev+watch_chromium.org, ben+ash_chromium.org, oshima+watch_chromium.org, kalyank, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@x354034-er
Visibility:
Public.

Description

Convert sticky keys to a chromeos::EventRewriter phase. BUG=354035 TEST=unit_tests,ash_unittests,manual R=sadrul@chromium.org,derat@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=278919

Patch Set 1 : Convert sticky keys to a chromeos::EventRewriter phase. #

Total comments: 24

Patch Set 2 : address review comments #

Total comments: 6

Patch Set 3 : rebase #

Patch Set 4 : address review comments from sadrul #

Total comments: 8

Patch Set 5 : address review comments from tengs@ #

Patch Set 6 : fix tests #

Patch Set 7 : distinguish between MouseEvent and MouseWheelEvent #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1176 lines, -1240 lines) Patch
M ash/shell.cc View 1 2 3 4 5 2 chunks +4 lines, -7 lines 0 comments Download
M ash/sticky_keys/sticky_keys_controller.h View 1 2 3 4 7 chunks +98 lines, -70 lines 0 comments Download
M ash/sticky_keys/sticky_keys_controller.cc View 1 2 3 4 10 chunks +194 lines, -321 lines 0 comments Download
M ash/sticky_keys/sticky_keys_overlay_unittest.cc View 1 2 3 4 5 2 chunks +3 lines, -197 lines 0 comments Download
M ash/sticky_keys/sticky_keys_unittest.cc View 1 2 3 4 5 18 chunks +260 lines, -555 lines 0 comments Download
M chrome/browser/chromeos/chrome_browser_main_chromeos.cc View 1 2 2 chunks +7 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/events/event_rewriter.h View 1 2 3 4 5 6 5 chunks +20 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/events/event_rewriter.cc View 1 2 3 4 5 6 7 chunks +152 lines, -33 lines 0 comments Download
M chrome/browser/chromeos/events/event_rewriter_unittest.cc View 1 2 3 4 5 35 chunks +438 lines, -48 lines 0 comments Download

Messages

Total messages: 27 (0 generated)
kpschoedel
This is not ready for full review yet. I'm just looking for comment on the ...
6 years, 7 months ago (2014-04-28 20:30:02 UTC) #1
sadrul
Can you remind me why we need to call into sticky-key rewriter from chromeos::EventRewriter? (because ...
6 years, 7 months ago (2014-04-28 20:38:27 UTC) #2
kpschoedel
On 2014/04/28 20:38:27, sadrul wrote: > Can you remind me why we need to call ...
6 years, 7 months ago (2014-04-28 20:57:27 UTC) #3
sadrul
On 2014/04/28 20:57:27, kpschoedel wrote: > On 2014/04/28 20:38:27, sadrul wrote: > > Can you ...
6 years, 7 months ago (2014-04-28 21:03:21 UTC) #4
kpschoedel
On 2014/04/28 21:03:21, sadrul wrote: I would like the conversion to EventRewriter preserve the current ...
6 years, 7 months ago (2014-04-28 21:06:39 UTC) #5
kpschoedel
https://codereview.chromium.org/255033003/diff/60001/ash/sticky_keys/sticky_keys_unittest.cc File ash/sticky_keys/sticky_keys_unittest.cc (left): https://codereview.chromium.org/255033003/diff/60001/ash/sticky_keys/sticky_keys_unittest.cc#oldcode806 ash/sticky_keys/sticky_keys_unittest.cc:806: TEST_F(StickyKeysTest, KeyEventDispatchImpl) { Moved to event_rewriter_unittest to satisfy dependency ...
6 years, 7 months ago (2014-05-07 17:56:55 UTC) #6
kpschoedel
Sync with upstream (r271662 + review 270633012 tests)
6 years, 7 months ago (2014-05-20 17:05:43 UTC) #7
kpschoedel
Updated to ToT, and collapsed the obsolete (rebase) patch sets for clarity.
6 years, 6 months ago (2014-06-05 21:27:46 UTC) #8
Daniel Erat
lgtm approving as an owner, but please wait for sadrul's review https://codereview.chromium.org/255033003/diff/150001/ash/sticky_keys/sticky_keys_controller.cc File ash/sticky_keys/sticky_keys_controller.cc (right): ...
6 years, 6 months ago (2014-06-05 23:16:11 UTC) #9
kpschoedel
https://codereview.chromium.org/255033003/diff/150001/ash/sticky_keys/sticky_keys_controller.cc File ash/sticky_keys/sticky_keys_controller.cc (right): https://codereview.chromium.org/255033003/diff/150001/ash/sticky_keys/sticky_keys_controller.cc#newcode132 ash/sticky_keys/sticky_keys_controller.cc:132: return consumed ? ui::EVENT_REWRITE_DISCARD On 2014/06/05 23:16:10, Daniel Erat ...
6 years, 6 months ago (2014-06-06 17:53:23 UTC) #10
sadrul
+tengs@ for sticky-keys changes. LGTM https://codereview.chromium.org/255033003/diff/170001/chrome/browser/chromeos/chrome_browser_main_chromeos.cc File chrome/browser/chromeos/chrome_browser_main_chromeos.cc (left): https://codereview.chromium.org/255033003/diff/170001/chrome/browser/chromeos/chrome_browser_main_chromeos.cc#oldcode760 chrome/browser/chromeos/chrome_browser_main_chromeos.cc:760: data_promo_notification_.reset(new DataPromoNotification()), whoa https://codereview.chromium.org/255033003/diff/170001/chrome/browser/chromeos/chrome_browser_main_chromeos.cc ...
6 years, 6 months ago (2014-06-16 15:07:43 UTC) #11
kpschoedel
https://codereview.chromium.org/255033003/diff/170001/chrome/browser/chromeos/chrome_browser_main_chromeos.cc File chrome/browser/chromeos/chrome_browser_main_chromeos.cc (left): https://codereview.chromium.org/255033003/diff/170001/chrome/browser/chromeos/chrome_browser_main_chromeos.cc#oldcode760 chrome/browser/chromeos/chrome_browser_main_chromeos.cc:760: data_promo_notification_.reset(new DataPromoNotification()), On 2014/06/16 15:07:43, sadrul wrote: > whoa ...
6 years, 6 months ago (2014-06-16 15:29:28 UTC) #12
Tim Song
https://codereview.chromium.org/255033003/diff/210001/ash/sticky_keys/sticky_keys_controller.cc File ash/sticky_keys/sticky_keys_controller.cc (right): https://codereview.chromium.org/255033003/diff/210001/ash/sticky_keys/sticky_keys_controller.cc#newcode37 ash/sticky_keys/sticky_keys_controller.cc:37: if (mod_up_flags) It seems that |mod_up_flags| is only being ...
6 years, 6 months ago (2014-06-16 18:32:24 UTC) #13
kpschoedel
https://codereview.chromium.org/255033003/diff/210001/ash/sticky_keys/sticky_keys_controller.cc File ash/sticky_keys/sticky_keys_controller.cc (right): https://codereview.chromium.org/255033003/diff/210001/ash/sticky_keys/sticky_keys_controller.cc#newcode37 ash/sticky_keys/sticky_keys_controller.cc:37: if (mod_up_flags) On 2014/06/16 18:32:23, Tim Song wrote: > ...
6 years, 6 months ago (2014-06-16 21:09:08 UTC) #14
Tim Song
lgtm :)
6 years, 6 months ago (2014-06-16 21:37:05 UTC) #15
kpschoedel
The CQ bit was checked by kpschoedel@chromium.org
6 years, 6 months ago (2014-06-16 21:37:22 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/255033003/250001
6 years, 6 months ago (2014-06-16 21:39:10 UTC) #17
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-17 04:10:41 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_clang_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_chromeos_clang_dbg/builds/23627)
6 years, 6 months ago (2014-06-17 04:10:42 UTC) #19
kpschoedel
The CQ bit was checked by kpschoedel@chromium.org
6 years, 6 months ago (2014-06-19 01:38:17 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/255033003/310001
6 years, 6 months ago (2014-06-19 01:39:25 UTC) #21
commit-bot: I haz the power
Change committed as 278342
6 years, 6 months ago (2014-06-19 12:32:56 UTC) #22
kpschoedel
A revert of this CL has been created in https://codereview.chromium.org/343923002/ by kpschoedel@chromium.org. The reason for ...
6 years, 6 months ago (2014-06-19 14:05:37 UTC) #23
kpschoedel
The CQ bit was checked by kpschoedel@chromium.org
6 years, 6 months ago (2014-06-20 18:35:12 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/255033003/330001
6 years, 6 months ago (2014-06-20 19:03:39 UTC) #25
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_x64_rel on tryserver.chromium ...
6 years, 6 months ago (2014-06-20 23:21:18 UTC) #26
commit-bot: I haz the power
6 years, 6 months ago (2014-06-21 04:31:04 UTC) #27
Message was sent while issue was closed.
Change committed as 278919

Powered by Google App Engine
This is Rietveld 408576698