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

Issue 2849083002: Add pointer id to the WebMouseEvent's constructors (Closed)

Created:
3 years, 7 months ago by lanwei
Modified:
3 years, 7 months ago
CC:
chromium-reviews, dtapuska+blinkwatch_chromium.org, eae+blinkwatch, jam, dtapuska+chromiumwatch_chromium.org, blink-reviews-events_chromium.org, dglazkov+blink, darin-cc_chromium.org, blink-reviews, kinuko+watch, blink-reviews-api_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add pointer id to the WebMouseEvent's constructors In order to make the WebMouseEvent's pointer id consistent with ui::MouseEvent, we add pointer id to the WebMouseEvent's constructors. Then we can enable the DCHECK of pointer id in PointerEventFactory. BUG=694742 Review-Url: https://codereview.chromium.org/2849083002 Cr-Commit-Position: refs/heads/master@{#472106} Committed: https://chromium.googlesource.com/chromium/src/+/2db36b51a5de1d110a0d9dbe6969ab9603df9ad8

Patch Set 1 : webmouseidd #

Total comments: 8

Patch Set 2 : webmouseevent id #

Total comments: 1

Patch Set 3 : webmouseid #

Total comments: 1

Patch Set 4 : Use KMousePointerId #

Total comments: 1

Patch Set 5 : webmouseid #

Total comments: 2

Patch Set 6 : webmouseid #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -38 lines) Patch
M third_party/WebKit/Source/core/events/PointerEventFactory.cpp View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/WebMouseEvent.cpp View 1 2 3 4 1 chunk +4 lines, -2 lines 0 comments Download
M third_party/WebKit/public/platform/WebMouseEvent.h View 1 2 3 4 5 6 chunks +20 lines, -12 lines 0 comments Download
M third_party/WebKit/public/platform/WebMouseWheelEvent.h View 1 3 2 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/public/platform/WebPointerProperties.h View 1 2 3 4 4 chunks +9 lines, -5 lines 0 comments Download
M third_party/WebKit/public/platform/WebTouchPoint.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/events/blink/web_input_event.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/events/blink/web_input_event_builders_win.cc View 1 chunk +0 lines, -1 line 0 comments Download
M ui/events/event.h View 1 2 3 4 6 chunks +7 lines, -6 lines 0 comments Download
M ui/events/event.cc View 1 2 3 4 5 chunks +7 lines, -5 lines 0 comments Download

Messages

Total messages: 104 (72 generated)
lanwei
3 years, 7 months ago (2017-05-01 02:08:24 UTC) #22
sadrul
ui lgtm https://codereview.chromium.org/2849083002/diff/80001/third_party/WebKit/public/platform/WebMouseWheelEvent.h File third_party/WebKit/public/platform/WebMouseWheelEvent.h (right): https://codereview.chromium.org/2849083002/diff/80001/third_party/WebKit/public/platform/WebMouseWheelEvent.h#newcode61 third_party/WebKit/public/platform/WebMouseWheelEvent.h:61: 0), Shouldn't this be the default mouse-pointer-id? ...
3 years, 7 months ago (2017-05-01 15:42:11 UTC) #23
dtapuska
https://codereview.chromium.org/2849083002/diff/80001/third_party/WebKit/public/platform/WebInputEvent.h File third_party/WebKit/public/platform/WebInputEvent.h (right): https://codereview.chromium.org/2849083002/diff/80001/third_party/WebKit/public/platform/WebInputEvent.h#newcode281 third_party/WebKit/public/platform/WebInputEvent.h:281: static const int32_t kMousePointerId = std::numeric_limits<int32_t>::max(); Use constexpr. Should ...
3 years, 7 months ago (2017-05-01 15:49:06 UTC) #24
lanwei
haraken@chromium.org: Please review changes in third_party/Webkit/*, thank you. https://codereview.chromium.org/2849083002/diff/80001/third_party/WebKit/public/platform/WebInputEvent.h File third_party/WebKit/public/platform/WebInputEvent.h (right): https://codereview.chromium.org/2849083002/diff/80001/third_party/WebKit/public/platform/WebInputEvent.h#newcode281 third_party/WebKit/public/platform/WebInputEvent.h:281: static ...
3 years, 7 months ago (2017-05-01 23:51:21 UTC) #35
haraken
WebKit LGTM https://codereview.chromium.org/2849083002/diff/120001/third_party/WebKit/public/platform/WebMouseEvent.h File third_party/WebKit/public/platform/WebMouseEvent.h (right): https://codereview.chromium.org/2849083002/diff/120001/third_party/WebKit/public/platform/WebMouseEvent.h#newcode24 third_party/WebKit/public/platform/WebMouseEvent.h:24: static constexpr int kMousePointerId = std::numeric_limits<int>::max(); kMousePointerId ...
3 years, 7 months ago (2017-05-02 00:27:23 UTC) #36
lanwei
3 years, 7 months ago (2017-05-03 13:38:48 UTC) #42
lanwei
sky@ could you please take a look at content/* and services/* dcheng@ could you please ...
3 years, 7 months ago (2017-05-03 15:24:36 UTC) #45
dcheng
rs lgtm for struct traits changes
3 years, 7 months ago (2017-05-03 17:44:05 UTC) #46
sky
https://codereview.chromium.org/2849083002/diff/140001/ui/events/event.h File ui/events/event.h (right): https://codereview.chromium.org/2849083002/diff/140001/ui/events/event.h#newcode484 ui/events/event.h:484: static const int kDefaultMousePointerId; Could you clarify why you ...
3 years, 7 months ago (2017-05-04 15:26:03 UTC) #47
lanwei
On 2017/05/04 15:26:03, sky wrote: > https://codereview.chromium.org/2849083002/diff/140001/ui/events/event.h > File ui/events/event.h (right): > > https://codereview.chromium.org/2849083002/diff/140001/ui/events/event.h#newcode484 > ...
3 years, 7 months ago (2017-05-04 15:30:32 UTC) #48
sky
Could you elaborate on why we would want to do that? By that I mean ...
3 years, 7 months ago (2017-05-04 17:34:14 UTC) #49
sky
Could you elaborate on why we would want to do that? By that I mean ...
3 years, 7 months ago (2017-05-04 17:34:16 UTC) #50
lanwei
On 2017/05/04 17:34:16, sky wrote: > Could you elaborate on why we would want to ...
3 years, 7 months ago (2017-05-04 18:08:21 UTC) #51
sky
I'm concerned that having a constant that says 'the mouse id' when we may use ...
3 years, 7 months ago (2017-05-04 19:34:37 UTC) #52
sky
I'm concerned that having a constant that says 'the mouse id' when we may use ...
3 years, 7 months ago (2017-05-04 19:34:37 UTC) #53
lanwei
On 2017/05/04 19:34:37, sky wrote: > I'm concerned that having a constant that says 'the ...
3 years, 7 months ago (2017-05-04 20:07:50 UTC) #54
sky
SGTM. Thanks! On Thu, May 4, 2017 at 1:07 PM, <lanwei@chromium.org> wrote: > On 2017/05/04 ...
3 years, 7 months ago (2017-05-04 22:28:45 UTC) #55
sky
SGTM. Thanks! On Thu, May 4, 2017 at 1:07 PM, <lanwei@chromium.org> wrote: > On 2017/05/04 ...
3 years, 7 months ago (2017-05-04 22:28:46 UTC) #56
lanwei
3 years, 7 months ago (2017-05-05 20:28:57 UTC) #64
sky
https://codereview.chromium.org/2849083002/diff/180001/ui/events/event.h File ui/events/event.h (right): https://codereview.chromium.org/2849083002/diff/180001/ui/events/event.h#newcode484 ui/events/event.h:484: static const int kMousePointerId; This value is serialized in ...
3 years, 7 months ago (2017-05-05 22:51:46 UTC) #67
lanwei
On 2017/05/05 22:51:46, sky wrote: > https://codereview.chromium.org/2849083002/diff/180001/ui/events/event.h > File ui/events/event.h (right): > > https://codereview.chromium.org/2849083002/diff/180001/ui/events/event.h#newcode484 > ...
3 years, 7 months ago (2017-05-08 14:40:10 UTC) #68
sky
On 2017/05/08 14:40:10, lanwei wrote: > On 2017/05/05 22:51:46, sky wrote: > > https://codereview.chromium.org/2849083002/diff/180001/ui/events/event.h > ...
3 years, 7 months ago (2017-05-08 16:07:37 UTC) #69
lanwei
On 2017/05/08 16:07:37, sky wrote: > On 2017/05/08 14:40:10, lanwei wrote: > > On 2017/05/05 ...
3 years, 7 months ago (2017-05-08 17:52:49 UTC) #70
sky
On 2017/05/08 17:52:49, lanwei wrote: > On 2017/05/08 16:07:37, sky wrote: > > On 2017/05/08 ...
3 years, 7 months ago (2017-05-09 19:27:01 UTC) #71
lanwei
3 years, 7 months ago (2017-05-10 18:48:21 UTC) #77
sky
LGTM! Thanks!
3 years, 7 months ago (2017-05-11 19:53:35 UTC) #80
dtapuska
https://codereview.chromium.org/2849083002/diff/220001/third_party/WebKit/public/platform/WebMouseEvent.h File third_party/WebKit/public/platform/WebMouseEvent.h (right): https://codereview.chromium.org/2849083002/diff/220001/third_party/WebKit/public/platform/WebMouseEvent.h#newcode106 third_party/WebKit/public/platform/WebMouseEvent.h:106: WebMouseEvent(unsigned size_param, int id) should this not be PointerId ...
3 years, 7 months ago (2017-05-12 19:02:15 UTC) #81
dtapuska
3 years, 7 months ago (2017-05-12 19:02:17 UTC) #82
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/2849083002/240001
3 years, 7 months ago (2017-05-15 18:35:09 UTC) #89
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/444799)
3 years, 7 months ago (2017-05-15 19:57:13 UTC) #91
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/2849083002/240001
3 years, 7 months ago (2017-05-16 14:51:27 UTC) #101
commit-bot: I haz the power
3 years, 7 months ago (2017-05-16 14:58:35 UTC) #104
Message was sent while issue was closed.
Committed patchset #6 (id:240001) as
https://chromium.googlesource.com/chromium/src/+/2db36b51a5de1d110a0d9dbe6969...

Powered by Google App Engine
This is Rietveld 408576698