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

Unified Diff: Source/web/WebUserGestureToken.cpp

Issue 239503008: Expose the timestamp associated with a user gesture, and make it possible to recreate a new user ge… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
« no previous file with comments | « Source/web/WebScopedUserGesture.cpp ('k') | public/web/WebScopedUserGesture.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebUserGestureToken.cpp
diff --git a/Source/web/WebUserGestureToken.cpp b/Source/web/WebUserGestureToken.cpp
index 0710ad065ea9f9b9b853dff261ddfba052ffb85f..29ef987532f8e9ce27c7727ae332678a437890e9 100644
--- a/Source/web/WebUserGestureToken.cpp
+++ b/Source/web/WebUserGestureToken.cpp
@@ -70,4 +70,9 @@ void WebUserGestureToken::reset()
m_token.reset();
}
+double WebUserGestureToken::timestamp() const
+{
+ return m_token->timestamp();
+}
+
} // namespace blink
« no previous file with comments | « Source/web/WebScopedUserGesture.cpp ('k') | public/web/WebScopedUserGesture.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698