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

Issue 2373733002: Send pointerleave and pointerenter events for styluses on Mac (Closed)

Created:
4 years, 2 months ago by lanwei
Modified:
3 years, 10 months ago
CC:
chromium-reviews, yusukes+watch_chromium.org, shuchen+watch_chromium.org, jam, dtapuska+chromiumwatch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, James Su
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Send pointerleave and pointerenter events for styluses on Mac. We should send the correct pointerleave and pointerenter events when the stylus leaves or enters the proximity of the tablet on Mac. We will check isEnteringProximity on NSTabletProximity event to decide the position of styluses. Now we only consider about a simple case that there is only one pointer device. The details of how we send pointer leave and enter events are in the doc: https://docs.google.com/document/d/1O_unOvamElhB_FANTMFJjjG9OIgCxZNGTVSfJzecaSk/ BUG=624810 Review-Url: https://codereview.chromium.org/2373733002 Cr-Commit-Position: refs/heads/master@{#448729} Committed: https://chromium.googlesource.com/chromium/src/+/e97eb52977dd7ed3936227f0d240cfeed865e520

Patch Set 1 #

Patch Set 2 : Ready for review #

Total comments: 4

Patch Set 3 : pointer leave #

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -11 lines) Patch
M content/browser/renderer_host/input/web_input_event_builders_mac.h View 1 2 3 1 chunk +5 lines, -1 line 0 comments Download
M content/browser/renderer_host/input/web_input_event_builders_mac.mm View 1 2 3 3 chunks +13 lines, -5 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.h View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.mm View 1 2 3 6 chunks +21 lines, -5 lines 0 comments Download
M ui/base/cocoa/base_view.mm View 1 2 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 48 (30 generated)
lanwei
4 years, 2 months ago (2016-09-29 15:33:48 UTC) #5
lanwei
4 years, 2 months ago (2016-09-29 15:36:20 UTC) #9
ccameron
I think that the easier way to approach this is to use the -[NSEvent pointingDeviceType:] ...
4 years, 2 months ago (2016-09-29 23:35:38 UTC) #17
ccameron
On 2016/09/29 23:35:38, ccameron wrote: > I think that the easier way to approach this ...
4 years, 2 months ago (2016-09-29 23:36:00 UTC) #18
lanwei
On 2016/09/29 23:36:00, ccameron wrote: > On 2016/09/29 23:35:38, ccameron wrote: > > I think ...
4 years, 2 months ago (2016-09-30 14:50:04 UTC) #19
ccameron
On 2016/09/30 14:50:04, lanwei wrote: > On 2016/09/29 23:36:00, ccameron wrote: > > On 2016/09/29 ...
4 years, 2 months ago (2016-10-03 21:30:04 UTC) #20
lanwei
On 2016/10/03 21:30:04, ccameron wrote: > On 2016/09/30 14:50:04, lanwei wrote: > > On 2016/09/29 ...
4 years, 2 months ago (2016-10-13 20:45:43 UTC) #21
mustaq
This looks very close but a slightly foolproof pointerType handling would be great. There are ...
4 years, 2 months ago (2016-10-14 16:07:17 UTC) #22
mustaq
On 2016/10/14 16:07:17, mustaq wrote: > This looks very close but a slightly foolproof pointerType ...
4 years, 2 months ago (2016-10-14 16:08:58 UTC) #23
mustaq
On 2016/10/14 16:08:58, mustaq wrote: > On 2016/10/14 16:07:17, mustaq wrote: > > This looks ...
3 years, 11 months ago (2017-01-25 19:57:33 UTC) #24
mustaq
On 2017/01/25 19:57:33, mustaq wrote: > On 2016/10/14 16:08:58, mustaq wrote: > > On 2016/10/14 ...
3 years, 11 months ago (2017-01-25 19:58:42 UTC) #25
ccameron
This looks good I was searching through to see where the device ID in the ...
3 years, 11 months ago (2017-01-25 21:10:13 UTC) #27
lanwei
On 2017/01/25 21:10:13, ccameron wrote: > This looks good > > I was searching through ...
3 years, 10 months ago (2017-01-26 22:30:52 UTC) #28
ccameron
lgtm, I'd prefer to have multi-device support from the start, but this is fine
3 years, 10 months ago (2017-02-06 23:21:28 UTC) #29
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/2373733002/60001
3 years, 10 months ago (2017-02-07 18:30:45 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device-xcode-clang/builds/34270) ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 10 months ago (2017-02-07 18:33:19 UTC) #33
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/2373733002/100001
3 years, 10 months ago (2017-02-07 20:49:45 UTC) #45
commit-bot: I haz the power
3 years, 10 months ago (2017-02-07 22:01:11 UTC) #48
Message was sent while issue was closed.
Committed patchset #4 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/e97eb52977dd7ed3936227f0d240...

Powered by Google App Engine
This is Rietveld 408576698