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

Unified Diff: third_party/WebKit/Source/core/events/MouseEvent.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/MouseEvent.h
diff --git a/third_party/WebKit/Source/core/events/MouseEvent.h b/third_party/WebKit/Source/core/events/MouseEvent.h
index 562c5629a34221fa87813283a764ac15ed62ba72..34d076b37e989190c9e989a5dd455120a149abf9 100644
--- a/third_party/WebKit/Source/core/events/MouseEvent.h
+++ b/third_party/WebKit/Source/core/events/MouseEvent.h
@@ -210,7 +210,11 @@ class CORE_EXPORT MouseEvent : public UIEventWithKeyState {
SyntheticEventType,
const String& region);
- MouseEvent(const AtomicString& type, const MouseEventInit&);
+ MouseEvent(const AtomicString& type,
+ const MouseEventInit&,
+ TimeTicks platform_time_stamp);
+ MouseEvent(const AtomicString& type, const MouseEventInit& init)
+ : MouseEvent(type, init, TimeTicks::Now()) {}
MouseEvent();
« no previous file with comments | « third_party/WebKit/Source/core/events/Event.cpp ('k') | third_party/WebKit/Source/core/events/MouseEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698