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

Unified Diff: Source/platform/UserGestureIndicator.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 | « no previous file | Source/platform/UserGestureIndicator.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/UserGestureIndicator.h
diff --git a/Source/platform/UserGestureIndicator.h b/Source/platform/UserGestureIndicator.h
index 50831e0b00a661c952fa91a4bab8912d2e50fb3d..398f2b516a4aeeb301aedce3aa6c0ec5fbd3af2f 100644
--- a/Source/platform/UserGestureIndicator.h
+++ b/Source/platform/UserGestureIndicator.h
@@ -48,6 +48,7 @@ public:
virtual bool hasGestures() const = 0;
virtual void setOutOfProcess() = 0;
virtual void setJavascriptPrompt() = 0;
+ virtual double timestamp() const = 0;
};
class PLATFORM_EXPORT UserGestureIndicatorDisabler {
@@ -73,6 +74,7 @@ public:
explicit UserGestureIndicator(ProcessingUserGestureState);
explicit UserGestureIndicator(PassRefPtr<UserGestureToken>);
+ explicit UserGestureIndicator(double timestamp);
~UserGestureIndicator();
« no previous file with comments | « no previous file | Source/platform/UserGestureIndicator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698