diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2018-05-03 13:42:47 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2018-05-15 10:27:51 +0000 |
commit | 8c5c43c7b138c9b4b0bf56d946e61d3bbc111bec (patch) | |
tree | d29d987c4d7b173cf853279b79a51598f104b403 /chromium/chrome/browser/resources/local_ntp/most_visited_single.js | |
parent | 830c9e163d31a9180fadca926b3e1d7dfffb5021 (diff) |
BASELINE: Update Chromium to 66.0.3359.156
Change-Id: I0c9831ad39911a086b6377b16f995ad75a51e441
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'chromium/chrome/browser/resources/local_ntp/most_visited_single.js')
-rw-r--r-- | chromium/chrome/browser/resources/local_ntp/most_visited_single.js | 45 |
1 files changed, 10 insertions, 35 deletions
diff --git a/chromium/chrome/browser/resources/local_ntp/most_visited_single.js b/chromium/chrome/browser/resources/local_ntp/most_visited_single.js index c4c0bfe2da7..9bdd106296f 100644 --- a/chromium/chrome/browser/resources/local_ntp/most_visited_single.js +++ b/chromium/chrome/browser/resources/local_ntp/most_visited_single.js @@ -27,35 +27,6 @@ var LOG_TYPE = { /** - * The different sources where an NTP tile's title can originate from. - * Note: Keep in sync with components/ntp_tiles/tile_title_source.h - * @enum {number} - * @const - */ -var TileTitleSource = { - UNKNOWN: 0, - MANIFEST: 1, - META_TAG: 2, - TITLE: 3, - INFERRED: 4 -}; - - -/** - * The different sources that an NTP tile can have. - * Note: Keep in sync with components/ntp_tiles/tile_source.h - * @enum {number} - * @const - */ -var TileSource = { - TOP_SITES: 0, - SUGGESTIONS_SERVICE: 1, - POPULAR: 3, - WHITELIST: 4, -}; - - -/** * The different (visual) types that an NTP tile can have. * Note: Keep in sync with components/ntp_tiles/tile_visual_type.h * @enum {number} @@ -128,9 +99,11 @@ var logEvent = function(eventType) { /** * Log impression of an NTP tile. * @param {number} tileIndex Position of the tile, >= 0 and < NUMBER_OF_TILES. - * @param {number} tileTitleSource The title's source from TileTitleSource. - * @param {number} tileSource The source from TileSource. - * @param {number} tileType The type from TileVisualType. + * @param {number} tileTitleSource The source of the tile's title as received + * from getMostVisitedItemData. + * @param {number} tileSource The tile's source as received from + * getMostVisitedItemData. + * @param {number} tileType The tile's visual type from TileVisualType. * @param {Date} dataGenerationTime Timestamp representing when the tile was * produced by a ranking algorithm. */ @@ -143,9 +116,11 @@ function logMostVisitedImpression( /** * Log click on an NTP tile. * @param {number} tileIndex Position of the tile, >= 0 and < NUMBER_OF_TILES. - * @param {number} tileTitleSource The title's source from TileTitleSource. - * @param {number} tileSource The source from TileSource. - * @param {number} tileType The type from TileVisualType. + * @param {number} tileTitleSource The source of the tile's title as received + * from getMostVisitedItemData. + * @param {number} tileSource The tile's source as received from + * getMostVisitedItemData. + * @param {number} tileType The tile's visual type from TileVisualType. * @param {Date} dataGenerationTime Timestamp representing when the tile was * produced by a ranking algorithm. */ |