Chromium Code Reviews

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

Issue 2834183002: Add time stamp to the constructor of the events (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: third_party/WebKit/Source/core/events/Event.h
diff --git a/third_party/WebKit/Source/core/events/Event.h b/third_party/WebKit/Source/core/events/Event.h
index affe81af50c1a684f4218de65f692f0c44158537..3162f6a4b7592b5eb4d98970f80a1842d0aced1a 100644
--- a/third_party/WebKit/Source/core/events/Event.h
+++ b/third_party/WebKit/Source/core/events/Event.h
@@ -258,7 +258,9 @@ class CORE_EXPORT Event : public GarbageCollectedFinalized<Event>,
bool can_bubble,
bool cancelable,
ComposedMode = ComposedMode::kScoped);
- Event(const AtomicString& type, const EventInit&);
+ Event(const AtomicString& type,
+ const EventInit&,
+ TimeTicks platform_time_stamp = TimeTicks::Now());
dtapuska 2017/04/21 20:18:10 We should follow the Google C++ coding guide here
Navid Zolghadr 2017/04/24 15:19:41 Done.
virtual void ReceivedTarget();

Powered by Google App Engine