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

Unified Diff: chrome/browser/engagement/site_engagement_metrics.h

Issue 1388293002: Notify WebContentsObservers of user interactions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing nits Created 5 years, 2 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
Index: chrome/browser/engagement/site_engagement_metrics.h
diff --git a/chrome/browser/engagement/site_engagement_metrics.h b/chrome/browser/engagement/site_engagement_metrics.h
index d07cdaa2de32ec63fcaafe4b3a8f4242d4ad905d..143ec5e6daa8a697699c5de343a746bb23404394 100644
--- a/chrome/browser/engagement/site_engagement_metrics.h
+++ b/chrome/browser/engagement/site_engagement_metrics.h
@@ -20,6 +20,7 @@ class SiteEngagementMetrics {
ENGAGEMENT_NAVIGATION,
ENGAGEMENT_KEYPRESS,
ENGAGEMENT_MOUSE,
+ ENGAGEMENT_TOUCH_GESTURE,
ENGAGEMENT_LAST,
};
@@ -35,7 +36,7 @@ class SiteEngagementMetrics {
private:
FRIEND_TEST_ALL_PREFIXES(SiteEngagementServiceTest, CheckHistograms);
- FRIEND_TEST_ALL_PREFIXES(SiteEngagementServiceBrowserTest,
+ FRIEND_TEST_ALL_PREFIXES(SiteEngagementHelperTest,
MixedInputEngagementAccumulation);
static const char kTotalEngagementHistogram[];
static const char kTotalOriginsHistogram[];
« no previous file with comments | « chrome/browser/engagement/site_engagement_helper_unittest.cc ('k') | chrome/browser/engagement/site_engagement_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698