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

Unified Diff: chrome/browser/resources/local_ntp/most_visited_single.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_single.js
diff --git a/chrome/browser/resources/local_ntp/most_visited_single.js b/chrome/browser/resources/local_ntp/most_visited_single.js
index 9710464dd62e33dc5a55f8383597e1c14be01875..f3ce4d8c47fbed657888e74ab958c4b29fda1518 100644
--- a/chrome/browser/resources/local_ntp/most_visited_single.js
+++ b/chrome/browser/resources/local_ntp/most_visited_single.js
@@ -39,8 +39,6 @@ var LOG_TYPE = {
NTP_GRAY_TILE_FALLBACK: 7,
// The visuals of that tile's fallback are handled externally. Unused here.
NTP_EXTERNAL_TILE_FALLBACK: 8,
- // The user moused over an NTP tile.
- NTP_MOUSEOVER: 9,
Marc Treib 2016/07/05 08:07:31 Hm, there's a few other ones here that say "unused
sfiera 2016/07/05 18:24:40 Done.
// A NTP Tile has finished loading (successfully or failing).
NTP_TILE_LOADED: 10,
};
@@ -467,10 +465,6 @@ var renderTile = function(data) {
}
}
});
- // TODO(fserb): remove this or at least change to mouseenter.
- tile.addEventListener('mouseover', function() {
- logEvent(LOG_TYPE.NTP_MOUSEOVER);
- });
var title = tile.querySelector('.mv-title');
title.innerText = data.title;
« no previous file with comments | « no previous file | chrome/browser/resources/local_ntp/most_visited_util.js » ('j') | chrome/common/ntp_logging_events.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698