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

Issue 1760183002: Fixed missing pointerTypes for touch events. (Closed)

Created:
4 years, 9 months ago by mustaq
Modified:
4 years, 9 months ago
CC:
blink-reviews, chromium-reviews, darin-cc_chromium.org, jam, jochen+watch_chromium.org, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, mlamouri+watch-test-runner_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix missing pointerTypes for touch. This CL fixes uninitialized pointerTypes for WebTouchPoint. Also fixes a few missing pointerType=mouse. BUG=557817 Committed: https://crrev.com/cc6220fa81c73d8be7ac0b032cb7fecd2b5b4b6a Cr-Commit-Position: refs/heads/master@{#380238}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Added a few missing type=mouse #

Patch Set 3 : Fixed Android hover event type. #

Total comments: 8

Patch Set 4 : Tweaked existing layouttests for some converage. #

Total comments: 1

Patch Set 5 : Fixed line-lengths, added a bug ref. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -47 lines) Patch
M components/test_runner/event_sender.cc View 1 2 3 3 chunks +3 lines, -0 lines 0 comments Download
M content/browser/android/content_view_core_impl.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/android/content_view_core_impl.cc View 1 2 3 3 chunks +5 lines, -2 lines 0 comments Download
M content/browser/devtools/protocol/input_handler.cc View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M content/browser/renderer_host/input/web_input_event_builders_android.h View 1 2 3 4 1 chunk +9 lines, -7 lines 0 comments Download
M content/browser/renderer_host/input/web_input_event_builders_android.cc View 1 2 3 4 2 chunks +12 lines, -7 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M content/renderer/pepper/event_conversion.cc View 1 2 3 2 chunks +4 lines, -1 line 0 comments Download
M mojo/converters/blink/blink_input_events_type_converters.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-event-properties.html View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/events/pointerevents/touch-pointer-event-properties.html View 1 2 3 2 chunks +8 lines, -5 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/mouse-pointer-event-properties-expected.txt View 1 2 3 13 chunks +13 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebInputEventConversion.cpp View 1 3 chunks +5 lines, -0 lines 0 comments Download
M ui/events/blink/blink_event_util.h View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M ui/events/blink/blink_event_util.cc View 1 2 3 3 chunks +20 lines, -20 lines 0 comments Download

Messages

Total messages: 29 (10 generated)
Navid Zolghadr
https://codereview.chromium.org/1760183002/diff/1/third_party/WebKit/Source/web/WebInputEventConversion.cpp File third_party/WebKit/Source/web/WebInputEventConversion.cpp (right): https://codereview.chromium.org/1760183002/diff/1/third_party/WebKit/Source/web/WebInputEventConversion.cpp#newcode629 third_party/WebKit/Source/web/WebInputEventConversion.cpp:629: point.pointerType = WebPointerProperties::PointerType::Touch; Do we by any chance pass ...
4 years, 9 months ago (2016-03-03 19:11:20 UTC) #3
mustaq
https://codereview.chromium.org/1760183002/diff/1/third_party/WebKit/Source/web/WebInputEventConversion.cpp File third_party/WebKit/Source/web/WebInputEventConversion.cpp (right): https://codereview.chromium.org/1760183002/diff/1/third_party/WebKit/Source/web/WebInputEventConversion.cpp#newcode629 third_party/WebKit/Source/web/WebInputEventConversion.cpp:629: point.pointerType = WebPointerProperties::PointerType::Touch; On 2016/03/03 19:11:20, Navid Zolghadr wrote: ...
4 years, 9 months ago (2016-03-03 19:18:37 UTC) #4
mustaq
On 2016/03/03 19:18:37, mustaq wrote: > https://codereview.chromium.org/1760183002/diff/1/third_party/WebKit/Source/web/WebInputEventConversion.cpp > File third_party/WebKit/Source/web/WebInputEventConversion.cpp (right): > > https://codereview.chromium.org/1760183002/diff/1/third_party/WebKit/Source/web/WebInputEventConversion.cpp#newcode629 > ...
4 years, 9 months ago (2016-03-03 19:22:34 UTC) #5
Navid Zolghadr
On 2016/03/03 19:22:34, mustaq wrote: > On 2016/03/03 19:18:37, mustaq wrote: > > > https://codereview.chromium.org/1760183002/diff/1/third_party/WebKit/Source/web/WebInputEventConversion.cpp ...
4 years, 9 months ago (2016-03-03 22:29:09 UTC) #6
Navid Zolghadr
On 2016/03/03 19:22:34, mustaq wrote: > On 2016/03/03 19:18:37, mustaq wrote: > > > https://codereview.chromium.org/1760183002/diff/1/third_party/WebKit/Source/web/WebInputEventConversion.cpp ...
4 years, 9 months ago (2016-03-03 22:29:12 UTC) #7
mustaq
On 2016/03/03 22:29:12, Navid Zolghadr wrote: > On 2016/03/03 19:22:34, mustaq wrote: > > On ...
4 years, 9 months ago (2016-03-07 16:51:29 UTC) #9
Rick Byers
LGTM with nits https://codereview.chromium.org/1760183002/diff/40001/content/browser/android/content_view_core_impl.cc File content/browser/android/content_view_core_impl.cc (right): https://codereview.chromium.org/1760183002/diff/40001/content/browser/android/content_view_core_impl.cc#newcode156 content/browser/android/content_view_core_impl.cc:156: WebPointerProperties::PointerType ToWebPointerType(int tool_type) { I think ...
4 years, 9 months ago (2016-03-07 17:52:20 UTC) #10
Rick Byers
These are mostly edge cases that are probably not worth the effort to test independently, ...
4 years, 9 months ago (2016-03-07 17:55:43 UTC) #11
mustaq
Tweaked existing layoutTests to catch default types. End-to-end tests for plugins, Android etc would be ...
4 years, 9 months ago (2016-03-07 21:50:43 UTC) #12
mustaq
aelias@chromium.org: Please review changes in - content/browser/renderer_host/input - ui/events/blink
4 years, 9 months ago (2016-03-07 21:56:54 UTC) #14
aelias_OOO_until_Jul13
lgtm
4 years, 9 months ago (2016-03-08 01:45:27 UTC) #15
mustaq
sky@chromium.org: Please review changes in: - mojo/converters/blink/blink_input_events_type_converters.cc pfeldman@chromium.org: Please review changes in: - content/browser/android/content_view_core_impl.* - ...
4 years, 9 months ago (2016-03-08 14:43:12 UTC) #17
Rick Byers
> Tweaked existing layoutTests to catch default types. End-to-end tests for > plugins, Android etc ...
4 years, 9 months ago (2016-03-08 15:43:38 UTC) #18
sky
LGTM
4 years, 9 months ago (2016-03-08 17:45:03 UTC) #19
mustaq
https://codereview.chromium.org/1760183002/diff/40001/mojo/converters/blink/blink_input_events_type_converters.cc File mojo/converters/blink/blink_input_events_type_converters.cc (right): https://codereview.chromium.org/1760183002/diff/40001/mojo/converters/blink/blink_input_events_type_converters.cc#newcode77 mojo/converters/blink/blink_input_events_type_converters.cc:77: // TODO(mustaq): Set web_event->pointerType from event->pointer_data->kind On 2016/03/07 21:50:43, ...
4 years, 9 months ago (2016-03-09 17:53:27 UTC) #20
pfeldman
devtools lgtm
4 years, 9 months ago (2016-03-09 18:22:00 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1760183002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1760183002/80001
4 years, 9 months ago (2016-03-09 18:48:53 UTC) #24
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 9 months ago (2016-03-09 22:08:04 UTC) #26
commit-bot: I haz the power
4 years, 9 months ago (2016-03-09 22:47:49 UTC) #29
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/cc6220fa81c73d8be7ac0b032cb7fecd2b5b4b6a
Cr-Commit-Position: refs/heads/master@{#380238}

Powered by Google App Engine
This is Rietveld 408576698