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

Issue 2834183002: Add time stamp to the constructor of the events (Closed)

Created:
3 years, 8 months ago by Navid Zolghadr
Modified:
3 years, 8 months ago
Reviewers:
dtapuska
CC:
chromium-reviews, extensions-reviews_chromium.org, blink-reviews-w3ctests_chromium.org, dtapuska+blinkwatch_chromium.org, dcheng, Navid Zolghadr, blink-reviews, chromium-apps-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add time stamp to the constructor of the events To match the pointerevent and its corresponding mouse and touch events time stamps we need to have the time stamp in the constructor parameter. Note that having the time stamp in the EventInit dictionary is being debated as part of this issue: https://github.com/whatwg/dom/issues/76 BUG=710442 Review-Url: https://codereview.chromium.org/2834183002 Cr-Commit-Position: refs/heads/master@{#466690} Committed: https://chromium.googlesource.com/chromium/src/+/c9291d203486935075ef689647fb071e99232f2a

Patch Set 1 #

Total comments: 5

Patch Set 2 : Change the style of the constructors #

Total comments: 8

Patch Set 3 : Fix typos #

Unified diffs Side-by-side diffs Delta from patch set Stats (+134 lines, -55 lines) Patch
M third_party/WebKit/LayoutTests/external/wpt/pointerevents/extension/pointerevent_coalesced_events_attributes-manual.html View 1 1 chunk +6 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/external/wpt/pointerevents/extension/pointerevent_coalesced_events_attributes-manual-expected.txt View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/external/wpt/pointerevents/pointerevent_suppress_compat_events_on_drag_mouse-manual.html View 3 chunks +14 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/events/Event.h View 1 1 chunk +5 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/events/Event.cpp View 1 chunk +4 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/events/MouseEvent.h View 1 1 chunk +5 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/events/MouseEvent.cpp View 1 chunk +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/events/PointerEvent.h View 1 2 chunks +9 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/events/PointerEvent.cpp View 1 chunk +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/events/PointerEventFactory.h View 1 1 chunk +4 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/events/PointerEventFactory.cpp View 1 6 chunks +24 lines, -14 lines 0 comments Download
M third_party/WebKit/Source/core/events/PointerEventFactoryTest.cpp View 1 2 7 chunks +26 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/core/events/UIEvent.h View 1 1 chunk +5 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/events/UIEvent.cpp View 1 chunk +4 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/events/UIEventWithKeyState.h View 1 1 chunk +5 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/events/UIEventWithKeyState.cpp View 1 chunk +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/input/PointerEventManager.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/input/PointerEventManager.cpp View 1 2 5 chunks +12 lines, -7 lines 0 comments Download

Messages

Total messages: 23 (15 generated)
Navid Zolghadr
3 years, 8 months ago (2017-04-21 19:38:05 UTC) #4
dtapuska
https://codereview.chromium.org/2834183002/diff/1/third_party/WebKit/LayoutTests/external/wpt/pointerevents/extension/pointerevent_coalesced_events_attributes-manual.html File third_party/WebKit/LayoutTests/external/wpt/pointerevents/extension/pointerevent_coalesced_events_attributes-manual.html (right): https://codereview.chromium.org/2834183002/diff/1/third_party/WebKit/LayoutTests/external/wpt/pointerevents/extension/pointerevent_coalesced_events_attributes-manual.html#newcode84 third_party/WebKit/LayoutTests/external/wpt/pointerevents/extension/pointerevent_coalesced_events_attributes-manual.html:84: console.log('navid'); I think the console.log('navid') should be removed. https://codereview.chromium.org/2834183002/diff/1/third_party/WebKit/LayoutTests/external/wpt/pointerevents/extension/pointerevent_coalesced_events_attributes-manual.html#newcode87 ...
3 years, 8 months ago (2017-04-21 20:18:11 UTC) #5
Navid Zolghadr
ptal https://codereview.chromium.org/2834183002/diff/1/third_party/WebKit/LayoutTests/external/wpt/pointerevents/extension/pointerevent_coalesced_events_attributes-manual.html File third_party/WebKit/LayoutTests/external/wpt/pointerevents/extension/pointerevent_coalesced_events_attributes-manual.html (right): https://codereview.chromium.org/2834183002/diff/1/third_party/WebKit/LayoutTests/external/wpt/pointerevents/extension/pointerevent_coalesced_events_attributes-manual.html#newcode84 third_party/WebKit/LayoutTests/external/wpt/pointerevents/extension/pointerevent_coalesced_events_attributes-manual.html:84: console.log('navid'); On 2017/04/21 20:18:10, dtapuska wrote: > I ...
3 years, 8 months ago (2017-04-24 15:19:41 UTC) #9
dtapuska
On 2017/04/24 15:19:41, Navid Zolghadr wrote: > ptal > > https://codereview.chromium.org/2834183002/diff/1/third_party/WebKit/LayoutTests/external/wpt/pointerevents/extension/pointerevent_coalesced_events_attributes-manual.html > File > third_party/WebKit/LayoutTests/external/wpt/pointerevents/extension/pointerevent_coalesced_events_attributes-manual.html ...
3 years, 8 months ago (2017-04-24 15:27:31 UTC) #11
dtapuska
https://codereview.chromium.org/2834183002/diff/20001/third_party/WebKit/Source/core/events/PointerEventFactoryTest.cpp File third_party/WebKit/Source/core/events/PointerEventFactoryTest.cpp (right): https://codereview.chromium.org/2834183002/diff/20001/third_party/WebKit/Source/core/events/PointerEventFactoryTest.cpp#newcode176 third_party/WebKit/Source/core/events/PointerEventFactoryTest.cpp:176: double base_time = 123; Can we use https://cs.chromium.org/chromium/src/third_party/WebKit/public/platform/WebInputEvent.h?l=279 here? ...
3 years, 8 months ago (2017-04-24 15:27:43 UTC) #12
Navid Zolghadr
https://codereview.chromium.org/2834183002/diff/20001/third_party/WebKit/Source/core/events/PointerEventFactoryTest.cpp File third_party/WebKit/Source/core/events/PointerEventFactoryTest.cpp (right): https://codereview.chromium.org/2834183002/diff/20001/third_party/WebKit/Source/core/events/PointerEventFactoryTest.cpp#newcode176 third_party/WebKit/Source/core/events/PointerEventFactoryTest.cpp:176: double base_time = 123; On 2017/04/24 15:27:43, dtapuska wrote: ...
3 years, 8 months ago (2017-04-24 15:51:45 UTC) #14
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/2834183002/40001
3 years, 8 months ago (2017-04-24 18:12:09 UTC) #20
commit-bot: I haz the power
3 years, 8 months ago (2017-04-24 18:19:10 UTC) #23
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/c9291d203486935075ef689647fb...

Powered by Google App Engine
This is Rietveld 408576698