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

Unified Diff: third_party/WebKit/Source/core/input/GestureManager.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/input/GestureManager.h
diff --git a/third_party/WebKit/Source/core/input/GestureManager.h b/third_party/WebKit/Source/core/input/GestureManager.h
index 60ab57421ec8d861499de0d0f4bd17ca456bbf2c..b41c7ef7089c248a5283b10df753521522d0d320 100644
--- a/third_party/WebKit/Source/core/input/GestureManager.h
+++ b/third_party/WebKit/Source/core/input/GestureManager.h
@@ -43,7 +43,7 @@ class CORE_EXPORT GestureManager
// TODO(nzolghadr): This can probably be hidden and the related logic
// be moved to this class (see crrev.com/112023010). Since that might cause
// regression it's better to move that logic in another change.
- double getLastShowPressTimestamp() const;
+ TimeTicks getLastShowPressTimestamp() const;
private:
WebInputEventResult handleGestureShowPress();
@@ -80,7 +80,7 @@ class CORE_EXPORT GestureManager
const Member<SelectionController> m_selectionController;
- double m_lastShowPressTimestamp;
+ TimeTicks m_lastShowPressTimestamp;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/input/EventHandlerTest.cpp ('k') | third_party/WebKit/Source/core/input/GestureManager.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698