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

Issue 2647253002: Add tangentialPressure and twist properties to PointerEvent on Windows (Closed)

Created:
3 years, 11 months ago by lanwei
Modified:
3 years, 11 months ago
Reviewers:
sadrul, dtapuska, mustaq, dcheng
CC:
chromium-reviews, dtapuska+chromiumwatch_chromium.org, tdresser+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add tangentialPressure and twist properties to PointerEvent on Windows We have added the properties of tangentialPressure and twist to WebMouseEvent for stylus type, now we are adding them to PointerDetails in ui::MouseEvent. BUG=649376 Review-Url: https://codereview.chromium.org/2647253002 Cr-Commit-Position: refs/heads/master@{#446523} Committed: https://chromium.googlesource.com/chromium/src/+/19f10eb68d3cdc96ce8543ee307899b147fa0632

Patch Set 1 #

Total comments: 5

Patch Set 2 : rotation #

Total comments: 5

Patch Set 3 : rotation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -23 lines) Patch
M ui/aura/gestures/gesture_recognizer_unittest.cc View 1 2 1 chunk +5 lines, -5 lines 0 comments Download
M ui/events/blink/web_input_event.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M ui/events/blink/web_input_event_unittest.cc View 1 2 2 chunks +11 lines, -9 lines 0 comments Download
M ui/events/event.h View 1 2 4 chunks +18 lines, -3 lines 0 comments Download
M ui/events/event_unittest.cc View 1 2 4 chunks +14 lines, -6 lines 0 comments Download

Messages

Total messages: 51 (37 generated)
lanwei
3 years, 11 months ago (2017-01-23 18:47:22 UTC) #8
dtapuska
On 2017/01/23 18:47:22, lanwei wrote: lgtm
3 years, 11 months ago (2017-01-23 19:38:44 UTC) #9
mustaq
https://codereview.chromium.org/2647253002/diff/1/ui/events/blink/web_input_event.cc File ui/events/blink/web_input_event.cc (right): https://codereview.chromium.org/2647253002/diff/1/ui/events/blink/web_input_event.cc#newcode430 ui/events/blink/web_input_event.cc:430: webkit_event.tangentialPressure = event.pointer_details().tangentialPressure; I think it's better to clamp ...
3 years, 11 months ago (2017-01-23 20:23:56 UTC) #10
lanwei
https://codereview.chromium.org/2647253002/diff/1/ui/events/blink/web_input_event.cc File ui/events/blink/web_input_event.cc (right): https://codereview.chromium.org/2647253002/diff/1/ui/events/blink/web_input_event.cc#newcode430 ui/events/blink/web_input_event.cc:430: webkit_event.tangentialPressure = event.pointer_details().tangentialPressure; On 2017/01/23 20:23:56, mustaq wrote: > ...
3 years, 11 months ago (2017-01-25 15:53:52 UTC) #25
mustaq
Just realized this: both web_input_event.cc and web_input_event_builders_win.cc have WebMouseEventBuilder::Build(). I believe only the latter affects ...
3 years, 11 months ago (2017-01-25 16:48:53 UTC) #26
lanwei
On 2017/01/25 16:48:53, mustaq wrote: > Just realized this: both web_input_event.cc and web_input_event_builders_win.cc > have ...
3 years, 11 months ago (2017-01-25 18:34:08 UTC) #27
mustaq
On 2017/01/25 18:34:08, lanwei wrote: > On 2017/01/25 16:48:53, mustaq wrote: > > Just realized ...
3 years, 11 months ago (2017-01-25 19:12:58 UTC) #28
lanwei
sadrul@ could you please take a look at the files under ui/, dcheng@ could you ...
3 years, 11 months ago (2017-01-25 19:23:23 UTC) #31
dcheng
struct traits rs lgtm
3 years, 11 months ago (2017-01-26 02:18:43 UTC) #32
sadrul
https://codereview.chromium.org/2647253002/diff/60001/ui/events/event.h File ui/events/event.h (right): https://codereview.chromium.org/2647253002/diff/60001/ui/events/event.h#newcode421 ui/events/event.h:421: float tangentialPressure, tangential_pressure (everywhere else in this CL) https://codereview.chromium.org/2647253002/diff/60001/ui/events/event.h#newcode422 ...
3 years, 11 months ago (2017-01-26 02:24:08 UTC) #33
lanwei
https://codereview.chromium.org/2647253002/diff/60001/ui/events/event.h File ui/events/event.h (right): https://codereview.chromium.org/2647253002/diff/60001/ui/events/event.h#newcode421 ui/events/event.h:421: float tangentialPressure, On 2017/01/26 02:24:08, sadrul wrote: > tangential_pressure ...
3 years, 11 months ago (2017-01-26 15:53:52 UTC) #44
sadrul
lgtm
3 years, 11 months ago (2017-01-27 00:23:18 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2647253002/120001
3 years, 11 months ago (2017-01-27 01:11:51 UTC) #48
commit-bot: I haz the power
3 years, 11 months ago (2017-01-27 01:28:11 UTC) #51
Message was sent while issue was closed.
Committed patchset #3 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/19f10eb68d3cdc96ce8543ee3078...

Powered by Google App Engine
This is Rietveld 408576698