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

Issue 2808433002: Create a MostVisited cell for ContentSuggestions (Closed)

Created:
3 years, 8 months ago by gambard
Modified:
3 years, 8 months ago
Reviewers:
stkhapugin, lpromero
CC:
chromium-reviews, ios-reviews+chrome_chromium.org, ios-reviews_chromium.org, pkl (ping after 24h if needed), noyau+watch_chromium.org, marq+watch_chromium.org, sdefresne+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Create a MostVisited cell for ContentSuggestions This CL creates a MostVisited cell and item which can be used to display the Most Visited sites in Content Suggestions. BUG=707754 Review-Url: https://codereview.chromium.org/2808433002 Cr-Commit-Position: refs/heads/master@{#463949} Committed: https://chromium.googlesource.com/chromium/src/+/d4ac95b13ea78688e1a8dfd6dbceac097e7fc968

Patch Set 1 #

Patch Set 2 : Complete patch #

Patch Set 3 : Split #

Total comments: 25

Patch Set 4 : Address comments #

Patch Set 5 : Fix tests #

Total comments: 2

Patch Set 6 : Address comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+335 lines, -0 lines) Patch
M ios/chrome/browser/ui/content_suggestions/cells/BUILD.gn View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
A ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited_item.h View 1 2 3 1 chunk +40 lines, -0 lines 0 comments Download
A ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited_item.mm View 1 2 3 1 chunk +210 lines, -0 lines 0 comments Download
A ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited_item_unittest.mm View 1 2 3 4 5 1 chunk +81 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (13 generated)
gambard
PTAL!
3 years, 8 months ago (2017-04-07 10:47:16 UTC) #2
stkhapugin
lgtm https://codereview.chromium.org/2808433002/diff/40001/ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited_item.h File ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited_item.h (right): https://codereview.chromium.org/2808433002/diff/40001/ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited_item.h#newcode21 ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited_item.h:21: NSArray<ContentSuggestionsMostVisited*>* mostVisiteds; mostVisitedItems or mostVisitedSuggestions https://codereview.chromium.org/2808433002/diff/40001/ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited_item.h#newcode26 ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited_item.h:26: @interface ...
3 years, 8 months ago (2017-04-07 12:17:58 UTC) #3
lpromero
To ease up unittesting, some of the logic could be extracted to a simple class ...
3 years, 8 months ago (2017-04-07 12:46:57 UTC) #4
gambard
Thanks, PTAL. https://codereview.chromium.org/2808433002/diff/40001/ios/chrome/browser/ui/content_suggestions/cells/BUILD.gn File ios/chrome/browser/ui/content_suggestions/cells/BUILD.gn (right): https://codereview.chromium.org/2808433002/diff/40001/ios/chrome/browser/ui/content_suggestions/cells/BUILD.gn#newcode14 ios/chrome/browser/ui/content_suggestions/cells/BUILD.gn:14: "content_suggestions_most_visited_item.mm", On 2017/04/07 12:46:56, lpromero wrote: > ...
3 years, 8 months ago (2017-04-10 11:49:16 UTC) #5
lpromero
lgtm https://codereview.chromium.org/2808433002/diff/80001/ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited_item_unittest.mm File ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited_item_unittest.mm (right): https://codereview.chromium.org/2808433002/diff/80001/ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited_item_unittest.mm#newcode57 ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited_item_unittest.mm:57: // Setup. Return if IsIPadIdiom? Or rename the ...
3 years, 8 months ago (2017-04-11 16:52:17 UTC) #14
gambard
Thanks! https://codereview.chromium.org/2808433002/diff/80001/ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited_item_unittest.mm File ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited_item_unittest.mm (right): https://codereview.chromium.org/2808433002/diff/80001/ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited_item_unittest.mm#newcode57 ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited_item_unittest.mm:57: // Setup. On 2017/04/11 16:52:17, lpromero wrote: > ...
3 years, 8 months ago (2017-04-12 06:50:42 UTC) #15
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/2808433002/100001
3 years, 8 months ago (2017-04-12 06:51:00 UTC) #18
commit-bot: I haz the power
3 years, 8 months ago (2017-04-12 07:52:07 UTC) #21
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/d4ac95b13ea78688e1a8dfd6dbce...

Powered by Google App Engine
This is Rietveld 408576698