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

Unified Diff: third_party/WebKit/Source/core/events/TouchEvent.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/core/events/TouchEvent.h
diff --git a/third_party/WebKit/Source/core/events/TouchEvent.h b/third_party/WebKit/Source/core/events/TouchEvent.h
index 340f9c0040866687d7de9c9fc7b04e29396e4549..e9ff0322e6933b6d459f84daff8c7162097763fe 100644
--- a/third_party/WebKit/Source/core/events/TouchEvent.h
+++ b/third_party/WebKit/Source/core/events/TouchEvent.h
@@ -54,7 +54,7 @@ class CORE_EXPORT TouchEvent final : public UIEventWithKeyState {
bool cancelable,
bool causesScrollingIfUncanceled,
bool firstTouchMoveOrStart,
- double platformTimeStamp,
+ TimeTicks platformTimeStamp,
TouchAction currentTouchAction,
WebPointerProperties::PointerType pointerType) {
return new TouchEvent(touches, targetTouches, changedTouches, type, view,
@@ -113,7 +113,7 @@ class CORE_EXPORT TouchEvent final : public UIEventWithKeyState {
bool cancelable,
bool causesScrollingIfUncanceled,
bool firstTouchMoveOrStart,
- double platformTimeStamp,
+ TimeTicks platformTimeStamp,
TouchAction currentTouchAction,
WebPointerProperties::PointerType);
TouchEvent(const AtomicString&, const TouchEventInit&);
« no previous file with comments | « third_party/WebKit/Source/core/events/TextEvent.cpp ('k') | third_party/WebKit/Source/core/events/TouchEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698