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

Unified Diff: chrome/browser/ui/search/instant_ntp.h

Issue 17526008: Log NTP hovers in 1993 clients (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments Created 7 years, 6 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/ui/search/instant_ntp.h
diff --git a/chrome/browser/ui/search/instant_ntp.h b/chrome/browser/ui/search/instant_ntp.h
index e6b10ad6a15c029e0000ef938e251fd6f7b52673..8c8e7b102b9bf03c5b13b6b7ff510636233d807d 100644
--- a/chrome/browser/ui/search/instant_ntp.h
+++ b/chrome/browser/ui/search/instant_ntp.h
@@ -37,6 +37,12 @@ class InstantNTP : public InstantPage,
// the page is about to be committed.
scoped_ptr<content::WebContents> ReleaseContents();
+ // Used to log each time the user mouses over NTP tiles or titles.
+ static void CountMouseover(content::WebContents* contents);
+
+ // Used to log in UMA the total number of mouseovers over NTP tiles/titles.
+ static void EmitMouseoverCount(content::WebContents* contents);
+
private:
// Overriden from InstantLoader::Delegate:
virtual void OnSwappedContents() OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698