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

Unified Diff: third_party/WebKit/Source/core/events/PointerEventFactory.h

Issue 2834183002: Add time stamp to the constructor of the events (Closed)
Patch Set: Fix typos Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/events/PointerEventFactory.h
diff --git a/third_party/WebKit/Source/core/events/PointerEventFactory.h b/third_party/WebKit/Source/core/events/PointerEventFactory.h
index b6ffa2dd437c77f79d9cec7292e4ba359d4aad43..178fb63c5412707a568789307604633578144b4f 100644
--- a/third_party/WebKit/Source/core/events/PointerEventFactory.h
+++ b/third_party/WebKit/Source/core/events/PointerEventFactory.h
@@ -35,14 +35,16 @@ class CORE_EXPORT PointerEventFactory {
LocalDOMWindow*);
PointerEvent* Create(const WebTouchPoint&,
- const Vector<WebTouchPoint>&,
+ const Vector<std::pair<WebTouchPoint, TimeTicks>>&,
WebInputEvent::Modifiers,
+ TimeTicks event_platform_time_stamp,
LocalFrame*,
DOMWindow*);
PointerEvent* CreatePointerCancelEvent(
const int pointer_id,
- const WebPointerProperties::PointerType);
+ const WebPointerProperties::PointerType,
+ TimeTicks platfrom_time_stamp);
// For creating capture events (i.e got/lostpointercapture)
PointerEvent* CreatePointerCaptureEvent(PointerEvent*, const AtomicString&);
« no previous file with comments | « third_party/WebKit/Source/core/events/PointerEvent.cpp ('k') | third_party/WebKit/Source/core/events/PointerEventFactory.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698