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

Issue 2867093003: Do not increase the pointer id when type is eraser (Closed)

Created:
3 years, 7 months ago by lanwei
Modified:
3 years, 7 months ago
CC:
chromium-reviews, blink-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Do not increase the pointer id when type is eraser We are setting the pointer type to eraser when using an eraser button. We should not increase the pointer id in this case, because it should be considered as a pen type. BUG=685252 Review-Url: https://codereview.chromium.org/2867093003 Cr-Commit-Position: refs/heads/master@{#471391} Committed: https://chromium.googlesource.com/chromium/src/+/0474c2a5ba9d963f73bc2cdecc6d16e575a4a4be

Patch Set 1 : eraser id #

Total comments: 2

Patch Set 2 : pointer eraser id #

Total comments: 4

Patch Set 3 : eraser id #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -27 lines) Patch
M content/shell/test_runner/event_sender.h View 1 1 chunk +1 line, -1 line 0 comments Download
M content/shell/test_runner/event_sender.cc View 1 3 chunks +27 lines, -10 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-event-properties.html View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/events/PointerEventFactory.cpp View 1 2 3 chunks +15 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/core/events/PointerEventFactoryTest.cpp View 1 2 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 50 (35 generated)
lanwei
3 years, 7 months ago (2017-05-09 12:58:19 UTC) #13
dtapuska
https://codereview.chromium.org/2867093003/diff/20001/third_party/WebKit/Source/core/events/PointerEventFactory.cpp File third_party/WebKit/Source/core/events/PointerEventFactory.cpp (right): https://codereview.chromium.org/2867093003/diff/20001/third_party/WebKit/Source/core/events/PointerEventFactory.cpp#newcode487 third_party/WebKit/Source/core/events/PointerEventFactory.cpp:487: if (p.GetPointerType() == WebPointerProperties::PointerType::kEraser) { Sorry this seems wrong ...
3 years, 7 months ago (2017-05-09 13:24:45 UTC) #14
Navid Zolghadr
https://codereview.chromium.org/2867093003/diff/20001/third_party/WebKit/Source/core/events/PointerEventFactory.cpp File third_party/WebKit/Source/core/events/PointerEventFactory.cpp (right): https://codereview.chromium.org/2867093003/diff/20001/third_party/WebKit/Source/core/events/PointerEventFactory.cpp#newcode193 third_party/WebKit/Source/core/events/PointerEventFactory.cpp:193: const IncomingId incoming_id(pointer_type, pointer_properties.id); How about this here? const ...
3 years, 7 months ago (2017-05-09 15:00:38 UTC) #15
lanwei
On 2017/05/09 13:24:45, dtapuska wrote: > https://codereview.chromium.org/2867093003/diff/20001/third_party/WebKit/Source/core/events/PointerEventFactory.cpp > File third_party/WebKit/Source/core/events/PointerEventFactory.cpp (right): > > https://codereview.chromium.org/2867093003/diff/20001/third_party/WebKit/Source/core/events/PointerEventFactory.cpp#newcode487 > ...
3 years, 7 months ago (2017-05-09 15:02:04 UTC) #16
lanwei
3 years, 7 months ago (2017-05-09 20:24:04 UTC) #19
dtapuska
https://codereview.chromium.org/2867093003/diff/40001/third_party/WebKit/Source/core/events/PointerEventFactory.cpp File third_party/WebKit/Source/core/events/PointerEventFactory.cpp (right): https://codereview.chromium.org/2867093003/diff/40001/third_party/WebKit/Source/core/events/PointerEventFactory.cpp#newcode203 third_party/WebKit/Source/core/events/PointerEventFactory.cpp:203: if (pointer_type == WebPointerProperties::PointerType::kEraser) Can this be rolled into ...
3 years, 7 months ago (2017-05-09 20:53:08 UTC) #20
Navid Zolghadr
lgtm % nits. https://codereview.chromium.org/2867093003/diff/40001/third_party/WebKit/Source/core/events/PointerEventFactory.cpp File third_party/WebKit/Source/core/events/PointerEventFactory.cpp (right): https://codereview.chromium.org/2867093003/diff/40001/third_party/WebKit/Source/core/events/PointerEventFactory.cpp#newcode26 third_party/WebKit/Source/core/events/PointerEventFactory.cpp:26: case WebPointerProperties::PointerType::kEraser: nit: With the way ...
3 years, 7 months ago (2017-05-09 20:58:46 UTC) #21
lanwei
https://codereview.chromium.org/2867093003/diff/40001/third_party/WebKit/Source/core/events/PointerEventFactory.cpp File third_party/WebKit/Source/core/events/PointerEventFactory.cpp (right): https://codereview.chromium.org/2867093003/diff/40001/third_party/WebKit/Source/core/events/PointerEventFactory.cpp#newcode26 third_party/WebKit/Source/core/events/PointerEventFactory.cpp:26: case WebPointerProperties::PointerType::kEraser: On 2017/05/09 20:58:46, Navid Zolghadr wrote: > ...
3 years, 7 months ago (2017-05-10 17:50:42 UTC) #32
WRONG-USE-chromium
lgtm
3 years, 7 months ago (2017-05-11 18:30:59 UTC) #38
dtapuska
On 2017/05/11 18:30:59, WRONG-USE-chromium wrote: > lgtm lgtm
3 years, 7 months ago (2017-05-11 19:06:55 UTC) #39
Rick Byers
On 2017/05/11 18:30:59, WRONG-USE-chromium wrote: > lgtm Darn multi-login never working correctly :-( LGTM
3 years, 7 months ago (2017-05-11 19:07:22 UTC) #40
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/2867093003/80001
3 years, 7 months ago (2017-05-11 19:20:42 UTC) #43
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/452175)
3 years, 7 months ago (2017-05-11 21:46:06 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/2867093003/80001
3 years, 7 months ago (2017-05-12 16:52:14 UTC) #47
commit-bot: I haz the power
3 years, 7 months ago (2017-05-12 18:52:24 UTC) #50
Message was sent while issue was closed.
Committed patchset #3 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/0474c2a5ba9d963f73bc2cdecc6d...

Powered by Google App Engine
This is Rietveld 408576698