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

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: Add additional file to sync. Created 4 years, 5 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 50c089b0ad429ded8ecda6de5e4a0961b81473aa..7c10a59f5ce11d65dc0117ca7c8b258b7b64a29b 100644
--- a/chrome/browser/resources/local_ntp/most_visited_util.js
+++ b/chrome/browser/resources/local_ntp/most_visited_util.js
@@ -44,8 +44,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(
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);
});
« no previous file with comments | « chrome/browser/resources/local_ntp/most_visited_single.js ('k') | chrome/browser/ui/search/search_ipc_router_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698