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

Issue 522453002: Remove Default Touch Radii in EventGenerator (Closed)

Created:
6 years, 3 months ago by jonross
Modified:
6 years, 3 months ago
Reviewers:
sadrul, tdresser
CC:
chromium-reviews, tdresser+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Remove Default Touch Radii in EventGenerator EventGenerator creates touch events in two different manners. Those that use TestTouchEvent set touch radii without exposing this to unit test classes. Chrome's gesture recognizer uses these radii when determining touch rects. This can lead to different views being targetting within unittests. Remove the setting of these radii. Tests that wish to use larger can still create TouchEvents and call EventGenerator::Dispatch. Committed: https://crrev.com/644b0306f7f23e5760728c0dc0d68923a8e13526 Cr-Commit-Position: refs/heads/master@{#292933}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M ui/events/test/event_generator.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 10 (2 generated)
jonross
jonross@chromium.org changed reviewers: + tdresser@chromium.org
6 years, 3 months ago (2014-08-28 22:57:27 UTC) #1
jonross
Hi Tim, As we discussed offline the method used for generating touch events was leading ...
6 years, 3 months ago (2014-08-28 22:57:27 UTC) #2
jonross
Hi Sadrul, Could you provide an owner review for this change? While writing a unit ...
6 years, 3 months ago (2014-08-29 17:26:18 UTC) #4
tdresser
On 2014/08/29 17:26:18, jonross wrote: > Hi Sadrul, > > Could you provide an owner ...
6 years, 3 months ago (2014-08-29 17:32:29 UTC) #5
sadrul
lgtm
6 years, 3 months ago (2014-09-02 14:29:31 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jonross@chromium.org/522453002/1
6 years, 3 months ago (2014-09-02 14:32:08 UTC) #8
commit-bot: I haz the power
Committed patchset #1 (id:1) as ecdef09aebbe1b14de34662504e3fb569bc25756
6 years, 3 months ago (2014-09-02 15:42:49 UTC) #9
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:18:43 UTC) #10
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/644b0306f7f23e5760728c0dc0d68923a8e13526
Cr-Commit-Position: refs/heads/master@{#292933}

Powered by Google App Engine
This is Rietveld 408576698