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

Issue 2572533002: Add ChromeMostVisitedSitesFactory (Closed)

Created:
4 years ago by sfiera
Modified:
4 years ago
CC:
chromium-reviews, ntp-dev+reviews_chromium.org, Marc Treib
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add ChromeMostVisitedSitesFactory Move the popular sites factory next to it. Currently PopularSites is explicitly not enabled (not even instantiated) on desktop. We could in theory create it and let the field trial decide whether to show tiles from it, but it really needs some work first for a world where we use thumbnails instead of icons. Also, Desktop has its own, separate mechanism for displaying default tiles baked into TopSites. BUG=655622 Committed: https://crrev.com/c35d272003f940ef2f2cd0c28466bd2063820928 Cr-Commit-Position: refs/heads/master@{#438472}

Patch Set 1 #

Patch Set 2 : make install #

Patch Set 3 : Use factory on desktop #

Patch Set 4 : Braces #

Patch Set 5 : rebase #

Patch Set 6 : Fix after rebase #

Patch Set 7 : rebase #

Patch Set 8 : Use factory for webui #

Unified diffs Side-by-side diffs Delta from patch set Stats (+199 lines, -244 lines) Patch
M chrome/browser/BUILD.gn View 1 2 3 4 5 6 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/android/ntp/most_visited_sites_bridge.h View 1 2 3 4 2 chunks +5 lines, -31 lines 0 comments Download
M chrome/browser/android/ntp/most_visited_sites_bridge.cc View 1 2 3 4 5 5 chunks +8 lines, -90 lines 0 comments Download
D chrome/browser/android/ntp/popular_sites.h View 1 chunk +0 lines, -29 lines 0 comments Download
D chrome/browser/android/ntp/popular_sites.cc View 1 chunk +0 lines, -27 lines 0 comments Download
A chrome/browser/ntp_tiles/OWNERS View 1 chunk +1 line, -0 lines 0 comments Download
A chrome/browser/ntp_tiles/chrome_most_visited_sites_factory.h View 1 chunk +24 lines, -0 lines 0 comments Download
A chrome/browser/ntp_tiles/chrome_most_visited_sites_factory.cc View 1 2 3 1 chunk +125 lines, -0 lines 0 comments Download
A + chrome/browser/ntp_tiles/chrome_popular_sites_factory.h View 1 chunk +5 lines, -10 lines 0 comments Download
A + chrome/browser/ntp_tiles/chrome_popular_sites_factory.cc View 2 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/search/instant_service.cc View 1 2 3 4 2 chunks +3 lines, -14 lines 0 comments Download
M chrome/browser/ui/webui/ntp_tiles_internals_ui.cc View 1 2 3 4 5 6 7 4 chunks +7 lines, -24 lines 0 comments Download
M chrome/browser/ui/webui/popular_sites_internals_ui.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M components/ntp_tiles/most_visited_sites.h View 4 chunks +4 lines, -5 lines 0 comments Download
M components/ntp_tiles/most_visited_sites.cc View 1 chunk +8 lines, -7 lines 0 comments Download

Messages

Total messages: 36 (28 generated)
sfiera
4 years ago (2016-12-12 19:14:53 UTC) #2
Bernhard Bauer
lgtm
4 years ago (2016-12-13 16:55:21 UTC) #18
sfiera
Thanks! +treib; bauerb doesn't cover instant_service.cc
4 years ago (2016-12-13 17:23:33 UTC) #20
Marc Treib
instant_service.cc lgtm
4 years ago (2016-12-13 17:27:15 UTC) #23
sfiera
Now that the webui has been submitting, using the factory there too. Will submit in ...
4 years ago (2016-12-13 18:32:45 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2572533002/160001
4 years ago (2016-12-14 09:36:25 UTC) #31
commit-bot: I haz the power
Committed patchset #8 (id:160001)
4 years ago (2016-12-14 09:42:17 UTC) #34
commit-bot: I haz the power
4 years ago (2016-12-14 09:45:33 UTC) #36
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/c35d272003f940ef2f2cd0c28466bd2063820928
Cr-Commit-Position: refs/heads/master@{#438472}

Powered by Google App Engine
This is Rietveld 408576698