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

Issue 8401026: top sites: allow TopSites to return all 20 cached sites (Closed)

Created:
9 years, 1 month ago by Evan Stade
Modified:
9 years, 1 month ago
Reviewers:
sky
CC:
chromium-reviews, brettw-cc_chromium.org
Visibility:
Public.

Description

top sites: allow TopSites to return all 20 cached sites TopSites was returning just 8 (because that is how many MostVisited needs). However now that we can have more than one consumer of TopSites (the other being an extension), we should leave it up to the consumer to decide how many they want to use. (most_visited.js already slices off the top 8 so no change is needed there) BUG=100394 TEST=manual committed r108172

Patch Set 1 #

Total comments: 2

Patch Set 2 : eliminate kTopSitesShown #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -3 lines) Patch
M chrome/browser/history/top_sites.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Evan Stade
9 years, 1 month ago (2011-10-27 02:45:40 UTC) #1
sky
http://codereview.chromium.org/8401026/diff/1/chrome/browser/history/top_sites.cc File chrome/browser/history/top_sites.cc (right): http://codereview.chromium.org/8401026/diff/1/chrome/browser/history/top_sites.cc#newcode736 chrome/browser/history/top_sites.cc:736: for (size_t pinned_index = 0; pinned_index < kTopSitesShown; pinned_index++) ...
9 years, 1 month ago (2011-10-27 16:16:27 UTC) #2
Evan Stade
http://codereview.chromium.org/8401026/diff/1/chrome/browser/history/top_sites.cc File chrome/browser/history/top_sites.cc (right): http://codereview.chromium.org/8401026/diff/1/chrome/browser/history/top_sites.cc#newcode736 chrome/browser/history/top_sites.cc:736: for (size_t pinned_index = 0; pinned_index < kTopSitesShown; pinned_index++) ...
9 years, 1 month ago (2011-10-27 16:31:21 UTC) #3
Evan Stade
updated
9 years, 1 month ago (2011-10-31 20:17:18 UTC) #4
sky
LGTM
9 years, 1 month ago (2011-10-31 20:49:19 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/estade@chromium.org/8401026/5001
9 years, 1 month ago (2011-11-01 00:11:14 UTC) #6
commit-bot: I haz the power
9 years, 1 month ago (2011-11-01 01:20:59 UTC) #7
Try job failure for 8401026-5001 (retry) on linux_rel for step "ui_tests".
It's a second try, previously, step "ui_tests" failed.
http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&...

Powered by Google App Engine
This is Rietveld 408576698