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

Unified Diff: third_party/WebKit/Source/core/events/MouseEvent.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/MouseEvent.cpp
diff --git a/third_party/WebKit/Source/core/events/MouseEvent.cpp b/third_party/WebKit/Source/core/events/MouseEvent.cpp
index ae1da564be060c79e755b2e07b32b77cddc9a3e5..0feea1f37cdf3c2ce7e96c025090f290b3902c2d 100644
--- a/third_party/WebKit/Source/core/events/MouseEvent.cpp
+++ b/third_party/WebKit/Source/core/events/MouseEvent.cpp
@@ -229,8 +229,9 @@ MouseEvent::MouseEvent(const AtomicString& event_type,
}
MouseEvent::MouseEvent(const AtomicString& event_type,
- const MouseEventInit& initializer)
- : UIEventWithKeyState(event_type, initializer),
+ const MouseEventInit& initializer,
+ TimeTicks platform_time_stamp)
+ : UIEventWithKeyState(event_type, initializer, platform_time_stamp),
screen_location_(
DoublePoint(initializer.screenX(), initializer.screenY())),
movement_delta_(
« no previous file with comments | « third_party/WebKit/Source/core/events/MouseEvent.h ('k') | third_party/WebKit/Source/core/events/PointerEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698