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

Unified Diff: third_party/WebKit/Source/core/events/UIEvent.cpp

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/UIEvent.cpp
diff --git a/third_party/WebKit/Source/core/events/UIEvent.cpp b/third_party/WebKit/Source/core/events/UIEvent.cpp
index a8bd651f9ff4159be38ebc009c002b2190c96698..3356ba6015db97fc030fcf935f17f86f84e1dab4 100644
--- a/third_party/WebKit/Source/core/events/UIEvent.cpp
+++ b/third_party/WebKit/Source/core/events/UIEvent.cpp
@@ -45,8 +45,10 @@ UIEvent::UIEvent(const AtomicString& event_type,
detail_(detail_arg),
source_capabilities_(source_capabilities_arg) {}
-UIEvent::UIEvent(const AtomicString& event_type, const UIEventInit& initializer)
- : Event(event_type, initializer),
+UIEvent::UIEvent(const AtomicString& event_type,
+ const UIEventInit& initializer,
+ TimeTicks platform_time_stamp)
+ : Event(event_type, initializer, platform_time_stamp),
view_(initializer.view()),
detail_(initializer.detail()),
source_capabilities_(initializer.sourceCapabilities()) {}
« no previous file with comments | « third_party/WebKit/Source/core/events/UIEvent.h ('k') | third_party/WebKit/Source/core/events/UIEventWithKeyState.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698