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

Issue 298823006: [Aura] Reduce frequency of PinchUpdate events. (Closed)

Created:
6 years, 7 months ago by tdresser
Modified:
6 years, 7 months ago
Reviewers:
jdduke (slow)
CC:
chromium-reviews, tdresser+watch_chromium.org
Visibility:
Public.

Description

[Aura] Reduce frequency of PinchUpdate events. BUG=373318 TEST=GestureProviderTest.PinchZoomWithThreshold Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272336

Patch Set 1 #

Total comments: 9

Patch Set 2 : Address Jared's comments. #

Patch Set 3 : Move logic to GestureProvider #

Total comments: 4

Patch Set 4 : Address Jared's comments. #

Total comments: 4

Patch Set 5 : Jared's comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+108 lines, -2 lines) Patch
M ui/events/gesture_detection/gesture_config_helper_aura.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M ui/events/gesture_detection/gesture_provider.cc View 1 2 3 4 3 chunks +11 lines, -1 line 0 comments Download
M ui/events/gesture_detection/gesture_provider_unittest.cc View 1 2 chunks +88 lines, -0 lines 0 comments Download
M ui/events/gesture_detection/scale_gesture_detector.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M ui/events/gesture_detection/scale_gesture_detector.cc View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 12 (0 generated)
tdresser
6 years, 7 months ago (2014-05-21 18:48:08 UTC) #1
jdduke (slow)
https://codereview.chromium.org/298823006/diff/1/ui/events/gesture_detection/gesture_provider_unittest.cc File ui/events/gesture_detection/gesture_provider_unittest.cc (right): https://codereview.chromium.org/298823006/diff/1/ui/events/gesture_detection/gesture_provider_unittest.cc#newcode1952 ui/events/gesture_detection/gesture_provider_unittest.cc:1952: event.SetId(++motion_event_id); Nit: Let's remove all of the touch id ...
6 years, 7 months ago (2014-05-21 19:30:37 UTC) #2
tdresser
https://codereview.chromium.org/298823006/diff/1/ui/events/gesture_detection/gesture_provider_unittest.cc File ui/events/gesture_detection/gesture_provider_unittest.cc (right): https://codereview.chromium.org/298823006/diff/1/ui/events/gesture_detection/gesture_provider_unittest.cc#newcode1952 ui/events/gesture_detection/gesture_provider_unittest.cc:1952: event.SetId(++motion_event_id); On 2014/05/21 19:30:37, jdduke wrote: > Nit: Let's ...
6 years, 7 months ago (2014-05-22 12:31:44 UTC) #3
tdresser
6 years, 7 months ago (2014-05-22 17:22:16 UTC) #4
jdduke (slow)
https://codereview.chromium.org/298823006/diff/40001/ui/events/gesture_detection/gesture_provider.cc File ui/events/gesture_detection/gesture_provider.cc (right): https://codereview.chromium.org/298823006/diff/40001/ui/events/gesture_detection/gesture_provider.cc#newcode178 ui/events/gesture_detection/gesture_provider.cc:178: bool pinch_occured = Hmm, why are you doing this ...
6 years, 7 months ago (2014-05-22 17:37:23 UTC) #5
tdresser
https://codereview.chromium.org/298823006/diff/40001/ui/events/gesture_detection/gesture_provider.cc File ui/events/gesture_detection/gesture_provider.cc (right): https://codereview.chromium.org/298823006/diff/40001/ui/events/gesture_detection/gesture_provider.cc#newcode178 ui/events/gesture_detection/gesture_provider.cc:178: bool pinch_occured = On 2014/05/22 17:37:24, jdduke wrote: > ...
6 years, 7 months ago (2014-05-22 17:57:22 UTC) #6
jdduke (slow)
lgtm https://codereview.chromium.org/298823006/diff/60001/ui/events/gesture_detection/gesture_provider.cc File ui/events/gesture_detection/gesture_provider.cc (right): https://codereview.chromium.org/298823006/diff/60001/ui/events/gesture_detection/gesture_provider.cc#newcode119 ui/events/gesture_detection/gesture_provider.cc:119: gesture_begin_end_types_enabled(false) {} Let's initialize the min_pinch_update_span_delta to 0. ...
6 years, 7 months ago (2014-05-22 18:06:35 UTC) #7
tdresser
https://codereview.chromium.org/298823006/diff/60001/ui/events/gesture_detection/gesture_provider.cc File ui/events/gesture_detection/gesture_provider.cc (right): https://codereview.chromium.org/298823006/diff/60001/ui/events/gesture_detection/gesture_provider.cc#newcode119 ui/events/gesture_detection/gesture_provider.cc:119: gesture_begin_end_types_enabled(false) {} On 2014/05/22 18:06:35, jdduke wrote: > Let's ...
6 years, 7 months ago (2014-05-22 18:25:17 UTC) #8
tdresser
The CQ bit was checked by tdresser@chromium.org
6 years, 7 months ago (2014-05-22 18:25:28 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tdresser@chromium.org/298823006/70001
6 years, 7 months ago (2014-05-22 18:29:52 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-22 21:46:01 UTC) #11
commit-bot: I haz the power
6 years, 7 months ago (2014-05-22 22:04:08 UTC) #12
Message was sent while issue was closed.
Change committed as 272336

Powered by Google App Engine
This is Rietveld 408576698