Index: chrome/browser/ui/search/instant_controller.cc |
diff --git a/chrome/browser/ui/search/instant_controller.cc b/chrome/browser/ui/search/instant_controller.cc |
index a3f465b5325bc4619d88c911b5ba1e840dd924f1..6b40b04a66391bf625aff1c2bafe5d5066ff1e74 100644 |
--- a/chrome/browser/ui/search/instant_controller.cc |
+++ b/chrome/browser/ui/search/instant_controller.cc |
@@ -285,6 +285,10 @@ void InstantController::ActiveTabChanged() { |
} |
void InstantController::TabDeactivated(content::WebContents* contents) { |
+ // If user is deactivating an NTP tab, log the number of mouseovers for this |
+ // NTP session. |
+ if (chrome::IsInstantNTP(contents)) |
+ InstantNTP::EmitMouseoverCount(contents); |
} |
void InstantController::ThemeInfoChanged( |