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

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: Rebased 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 3000ee56425addcb03f62cc79ad86928a5c74e62..510fe085d2bbb4f11239efa3d503aee7f3c8a14d 100644
--- a/chrome/browser/ui/search/instant_ntp.h
+++ b/chrome/browser/ui/search/instant_ntp.h
@@ -42,6 +42,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:
// Overridden from content::WebContentsObserver:
virtual void RenderViewCreated(

Powered by Google App Engine
This is Rietveld 408576698