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

Unified Diff: third_party/WebKit/public/web/WebUserGestureIndicator.h

Issue 2352753002: Collect more UMA data about dialogs and site engagement. (Closed)
Patch Set: nit Created 4 years, 3 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 | « third_party/WebKit/Source/web/WebUserGestureIndicator.cpp ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/web/WebUserGestureIndicator.h
diff --git a/third_party/WebKit/public/web/WebUserGestureIndicator.h b/third_party/WebKit/public/web/WebUserGestureIndicator.h
index b7c7f3cfcf1da8abd31c6af2cd8fef7b65e31ea4..2a0e885f828ec2b3ecdcbf3554d079ad6bbac9d5 100644
--- a/third_party/WebKit/public/web/WebUserGestureIndicator.h
+++ b/third_party/WebKit/public/web/WebUserGestureIndicator.h
@@ -45,6 +45,10 @@ public:
// Returns true if a consumable gesture exists and has been successfully consumed.
BLINK_EXPORT static bool consumeUserGesture();
+ // Returns true if a user gesture was processed on the current page since the time
+ // the page was loaded.
+ BLINK_EXPORT static bool processedUserGestureSinceLoad();
+
// Returns a token for the currently active user gesture. It can be used to
// continue processing the user gesture later on using a
// WebScopedUserGesture.
« no previous file with comments | « third_party/WebKit/Source/web/WebUserGestureIndicator.cpp ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698