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

Unified Diff: public/web/WebUserGestureToken.h

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 | « public/web/WebScopedUserGesture.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebUserGestureToken.h
diff --git a/public/web/WebUserGestureToken.h b/public/web/WebUserGestureToken.h
index 4251dcd1d986f7f0eb0adeb61f245e9a65c47de0..5c485d45a2fe875a72a29daf7841b0ce1da16621 100644
--- a/public/web/WebUserGestureToken.h
+++ b/public/web/WebUserGestureToken.h
@@ -54,6 +54,7 @@ public:
~WebUserGestureToken() { reset(); }
BLINK_EXPORT bool hasGestures() const;
+ BLINK_EXPORT double timestamp() const;
BLINK_EXPORT void setOutOfProcess();
BLINK_EXPORT void setJavascriptPrompt();
bool isNull() const { return m_token.isNull(); }
« no previous file with comments | « public/web/WebScopedUserGesture.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698