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

Unified Diff: third_party/WebKit/Source/core/events/UIEvent.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/UIEvent.h
diff --git a/third_party/WebKit/Source/core/events/UIEvent.h b/third_party/WebKit/Source/core/events/UIEvent.h
index 09fb4007b323b34b17e147a290b13c22831ff246..d79d1c36377213cc376a3e0001ccefde2586970f 100644
--- a/third_party/WebKit/Source/core/events/UIEvent.h
+++ b/third_party/WebKit/Source/core/events/UIEvent.h
@@ -84,7 +84,11 @@ class CORE_EXPORT UIEvent : public Event {
AbstractView*,
int detail,
InputDeviceCapabilities* source_capabilities);
- UIEvent(const AtomicString&, const UIEventInit&);
+ UIEvent(const AtomicString&,
+ const UIEventInit&,
+ TimeTicks platform_time_stamp);
+ UIEvent(const AtomicString& type, const UIEventInit& init)
+ : UIEvent(type, init, TimeTicks::Now()) {}
private:
Member<AbstractView> view_;
« no previous file with comments | « third_party/WebKit/Source/core/events/PointerEventFactoryTest.cpp ('k') | third_party/WebKit/Source/core/events/UIEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698