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

Unified Diff: chrome/browser/resources/local_ntp/most_visited_util.js

Issue 2091323002: Kill NewTabPage.NumberOfMouseOvers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Deprecate histogram. Created 4 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/resources/local_ntp/most_visited_util.js
diff --git a/chrome/browser/resources/local_ntp/most_visited_util.js b/chrome/browser/resources/local_ntp/most_visited_util.js
index 60e30cf7b8f832a8e26a5632caeb797da2adf522..5a5b19d1efe10fe349ab6746cc420857900e07d3 100644
--- a/chrome/browser/resources/local_ntp/most_visited_util.js
+++ b/chrome/browser/resources/local_ntp/most_visited_util.js
@@ -40,8 +40,6 @@ var NTP_LOGGING_EVENT_TYPE = {
NTP_GRAY_TILE_FALLBACK: 7,
// The visuals of that tile's fallback are handled externally.
NTP_EXTERNAL_TILE_FALLBACK: 8,
- // The user moused over an NTP tile or title.
- NTP_MOUSEOVER: 9,
// A NTP Tile has finished loading (successfully or failing).
NTP_TILE_LOADED: 10,
};
@@ -136,10 +134,6 @@ function createMostVisitedLink(params, href, title, text, direction, provider) {
spanWrap.textContent = text;
link.appendChild(spanWrap);
}
- link.addEventListener('mouseover', function() {
- var ntpApiHandle = chrome.embeddedSearch.newTabPage;
- ntpApiHandle.logEvent(NTP_LOGGING_EVENT_TYPE.NTP_MOUSEOVER);
- });
link.addEventListener('focus', function() {
window.parent.postMessage('linkFocused', DOMAIN_ORIGIN);
});

Powered by Google App Engine
This is Rietveld 408576698