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

Issue 1017323002: make IsRepeated work even when a KeyEvent is created from the same native event. (Closed)

Created:
5 years, 9 months ago by oshima
Modified:
5 years, 9 months ago
Reviewers:
sadrul
CC:
chromium-reviews, jdduke+watch_chromium.org, tdresser+watch_chromium.org, afakhry
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

This CL should make IsRepeated more robust for a code that needs to create KeyEvent from native code, like key rewriter, or https://codereview.chromium.org/1013003002/ BUG=468442 TEST=covered by test, and also tested manually. Committed: https://crrev.com/dfd141b02a8ee4dc72c8e1d3dee8ce2d2ca4938d Cr-Commit-Position: refs/heads/master@{#321378}

Patch Set 1 : #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -24 lines) Patch
M chrome/browser/ui/ash/accelerator_controller_browsertest.cc View 1 1 chunk +3 lines, -17 lines 1 comment Download
M ui/events/event.cc View 1 1 chunk +6 lines, -2 lines 0 comments Download
M ui/events/event_unittest.cc View 3 chunks +27 lines, -0 lines 2 comments Download
M ui/events/test/event_generator.cc View 1 2 7 chunks +22 lines, -5 lines 2 comments Download

Messages

Total messages: 15 (6 generated)
oshima
5 years, 9 months ago (2015-03-18 22:26:02 UTC) #3
oshima
please hold. I have to fix a couple of more tests.
5 years, 9 months ago (2015-03-18 23:04:24 UTC) #4
oshima
PTAL I changed default tick clock for EventGenerator so that KeyEvent always get different timestamp. ...
5 years, 9 months ago (2015-03-19 00:46:05 UTC) #6
oshima
5 years, 9 months ago (2015-03-19 00:47:31 UTC) #7
sadrul
lgtm https://codereview.chromium.org/1017323002/diff/80001/ui/events/event_unittest.cc File ui/events/event_unittest.cc (right): https://codereview.chromium.org/1017323002/diff/80001/ui/events/event_unittest.cc#newcode427 ui/events/event_unittest.cc:427: const uint16 kNativeCodeB = ui::KeycodeConverter::CodeToNativeKeycode("KeyB"); On 2015/03/19 00:46:04, ...
5 years, 9 months ago (2015-03-19 10:36:53 UTC) #10
oshima
https://codereview.chromium.org/1017323002/diff/80001/ui/events/test/event_generator.cc File ui/events/test/event_generator.cc (right): https://codereview.chromium.org/1017323002/diff/80001/ui/events/test/event_generator.cc#newcode45 ui/events/test/event_generator.cc:45: int64 ticks_ = 1; On 2015/03/19 10:36:53, sadrul wrote: ...
5 years, 9 months ago (2015-03-19 16:41:57 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1017323002/80001
5 years, 9 months ago (2015-03-19 16:42:31 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:80001)
5 years, 9 months ago (2015-03-19 16:46:04 UTC) #14
commit-bot: I haz the power
5 years, 9 months ago (2015-03-19 16:47:48 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/dfd141b02a8ee4dc72c8e1d3dee8ce2d2ca4938d
Cr-Commit-Position: refs/heads/master@{#321378}

Powered by Google App Engine
This is Rietveld 408576698