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

Issue 328733003: Fix slop region boundary handling. (Closed)

Created:
6 years, 6 months ago by tdresser
Modified:
6 years, 6 months ago
Reviewers:
jdduke (slow), sadrul
CC:
chromium-reviews, yusukes+watch_chromium.org, yukishiino+watch_chromium.org, tdresser+watch_chromium.org, jam, penghuang+watch_chromium.org, sievers+watch_chromium.org, jbauman+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, danakj+watch_chromium.org, James Su, jdduke+watch_chromium.org, miu+watch_chromium.org
Visibility:
Public.

Description

Fix slop region boundary handling. Ensure the screenPosition of touches is never truncated to an integer. Check if the unified gesture detector is enabled before disabling the inclusive slop region. BUG=381174 TEST=RenderWidgetHostViewAuraTest.TouchEventPositionsArentRounded Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276728

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address jdduke's nit. #

Patch Set 3 : Add line breaks. #

Patch Set 4 : Fix windows compile. #

Total comments: 6

Patch Set 5 : Address sadrul's comments. #

Patch Set 6 : Fix gn build. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -26 lines) Patch
M content/browser/renderer_host/input/input_router_config_helper.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
content/browser/renderer_host/render_widget_host_view_aura_unittest.cc View 1 2 3 1 chunk +25 lines, -0 lines 0 comments Download
content/browser/renderer_host/ui_events_helper.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M ui/events/BUILD.gn View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
ui/events/event.h View 1 2 3 4 1 chunk +4 lines, -1 line 0 comments Download
ui/events/events.gyp View 1 chunk +2 lines, -0 lines 0 comments Download
ui/events/gestures/gesture_recognizer_impl.cc View 2 chunks +2 lines, -22 lines 0 comments Download
ui/events/gestures/unified_gesture_detector_enabled.h View 1 chunk +17 lines, -0 lines 0 comments Download
ui/events/gestures/unified_gesture_detector_enabled.cc View 1 2 3 4 1 chunk +37 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
tdresser
Jared, can you take a look?
6 years, 6 months ago (2014-06-10 15:37:59 UTC) #1
jdduke (slow)
lgtm with a nit, though I'm not an owner for most of this. In any ...
6 years, 6 months ago (2014-06-10 16:01:23 UTC) #2
tdresser
Sadrul, can you take a look? https://codereview.chromium.org/328733003/diff/1/ui/events/gestures/unified_gesture_detector_enabled.cc File ui/events/gestures/unified_gesture_detector_enabled.cc (right): https://codereview.chromium.org/328733003/diff/1/ui/events/gestures/unified_gesture_detector_enabled.cc#newcode24 ui/events/gestures/unified_gesture_detector_enabled.cc:24: } else if ...
6 years, 6 months ago (2014-06-10 16:41:14 UTC) #3
jdduke (slow)
On 2014/06/10 16:41:14, tdresser wrote: > Sadrul, can you take a look? > > https://codereview.chromium.org/328733003/diff/1/ui/events/gestures/unified_gesture_detector_enabled.cc ...
6 years, 6 months ago (2014-06-10 16:46:57 UTC) #4
tdresser
Add line breaks after return statements.
6 years, 6 months ago (2014-06-10 17:36:44 UTC) #5
sadrul
lgtm https://codereview.chromium.org/328733003/diff/60001/content/browser/renderer_host/ui_events_helper.cc File content/browser/renderer_host/ui_events_helper.cc (right): https://codereview.chromium.org/328733003/diff/60001/content/browser/renderer_host/ui_events_helper.cc#newcode317 content/browser/renderer_host/ui_events_helper.cc:317: const gfx::PointF root_point = event.root_location_f(); & https://codereview.chromium.org/328733003/diff/60001/ui/events/event.h File ...
6 years, 6 months ago (2014-06-11 20:58:13 UTC) #6
tdresser
https://codereview.chromium.org/328733003/diff/60001/content/browser/renderer_host/ui_events_helper.cc File content/browser/renderer_host/ui_events_helper.cc (right): https://codereview.chromium.org/328733003/diff/60001/content/browser/renderer_host/ui_events_helper.cc#newcode317 content/browser/renderer_host/ui_events_helper.cc:317: const gfx::PointF root_point = event.root_location_f(); On 2014/06/11 20:58:12, sadrul ...
6 years, 6 months ago (2014-06-12 12:45:24 UTC) #7
tdresser
The CQ bit was checked by tdresser@chromium.org
6 years, 6 months ago (2014-06-12 12:45:28 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tdresser@chromium.org/328733003/80001
6 years, 6 months ago (2014-06-12 12:55:47 UTC) #9
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium ...
6 years, 6 months ago (2014-06-12 15:01:56 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-12 15:03:56 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: win_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu_triggered_tests/builds/16537)
6 years, 6 months ago (2014-06-12 15:03:57 UTC) #12
tdresser
The CQ bit was checked by tdresser@chromium.org
6 years, 6 months ago (2014-06-12 15:04:54 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tdresser@chromium.org/328733003/80001
6 years, 6 months ago (2014-06-12 15:06:26 UTC) #14
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium ...
6 years, 6 months ago (2014-06-12 15:14:59 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-12 15:17:42 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: win_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu_triggered_tests/builds/16537)
6 years, 6 months ago (2014-06-12 15:17:44 UTC) #17
tdresser
The CQ bit was checked by tdresser@chromium.org
6 years, 6 months ago (2014-06-12 15:19:55 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tdresser@chromium.org/328733003/80001
6 years, 6 months ago (2014-06-12 15:21:55 UTC) #19
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium ...
6 years, 6 months ago (2014-06-12 15:28:01 UTC) #20
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-12 15:30:24 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: win_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu_triggered_tests/builds/16537)
6 years, 6 months ago (2014-06-12 15:30:26 UTC) #22
tdresser
The CQ bit was checked by tdresser@chromium.org
6 years, 6 months ago (2014-06-12 15:33:07 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tdresser@chromium.org/328733003/80001
6 years, 6 months ago (2014-06-12 15:34:39 UTC) #24
commit-bot: I haz the power
6 years, 6 months ago (2014-06-12 17:22:59 UTC) #25
Message was sent while issue was closed.
Change committed as 276728

Powered by Google App Engine
This is Rietveld 408576698