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

Unified Diff: third_party/WebKit/Source/platform/PlatformMouseEvent.h

Issue 2542693002: Use WTF::TimeTicks to represent timestamp in Platform/Core event types (Closed)
Patch Set: rebase Created 4 years 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/platform/PlatformMouseEvent.h
diff --git a/third_party/WebKit/Source/platform/PlatformMouseEvent.h b/third_party/WebKit/Source/platform/PlatformMouseEvent.h
index 822ac7b13e2a3b89dc4611d263d518fb019927d7..d92679b0164b06782a7c6bc04e42a6cf83c02345 100644
--- a/third_party/WebKit/Source/platform/PlatformMouseEvent.h
+++ b/third_party/WebKit/Source/platform/PlatformMouseEvent.h
@@ -59,7 +59,7 @@ class PlatformMouseEvent : public PlatformEvent {
EventType type,
int clickCount,
Modifiers modifiers,
- double timestamp)
+ TimeTicks timestamp)
: PlatformEvent(type, modifiers, timestamp),
m_position(position),
m_globalPosition(globalPosition),
@@ -75,7 +75,7 @@ class PlatformMouseEvent : public PlatformEvent {
int clickCount,
Modifiers modifiers,
SyntheticEventType synthesized,
- double timestamp,
+ TimeTicks timestamp,
WebPointerProperties::PointerType pointerType =
WebPointerProperties::PointerType::Unknown)
: PlatformEvent(type, modifiers, timestamp),
« no previous file with comments | « third_party/WebKit/Source/platform/PlatformGestureEvent.h ('k') | third_party/WebKit/Source/web/WebFrameWidgetBase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698