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

Issue 2803223002: Create a Most Visited tile for ContentSuggestions (Closed)

Created:
3 years, 8 months ago by gambard
Modified:
3 years, 6 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 Most Visited tile for ContentSuggestions This CL creates a ContentSuggestionsMostVisitedTile view displaying a Most Visited suggestion, with a favicon and a title. It also creates a ContentSuggestionsMostVisited, containing the informations for the tile. BUG=707754 Review-Url: https://codereview.chromium.org/2803223002 Cr-Commit-Position: refs/heads/master@{#463258} Committed: https://chromium.googlesource.com/chromium/src/+/cde4c9664fbafda7dffe1c61ac059d6bd80882b3

Patch Set 1 #

Patch Set 2 : Reviewable #

Total comments: 29

Patch Set 3 : Address comments #

Total comments: 10

Patch Set 4 : Nothing changed due to clang format :) #

Total comments: 2

Patch Set 5 : Address comment #

Messages

Total messages: 19 (9 generated)
gambard
PTAL. Split of https://codereview.chromium.org/2808433002/#ps20001
3 years, 8 months ago (2017-04-07 09:43:03 UTC) #2
lpromero
lgtm https://codereview.chromium.org/2803223002/diff/20001/ios/chrome/browser/ui/content_suggestions/cells/BUILD.gn File ios/chrome/browser/ui/content_suggestions/cells/BUILD.gn (right): https://codereview.chromium.org/2803223002/diff/20001/ios/chrome/browser/ui/content_suggestions/cells/BUILD.gn#newcode40 ios/chrome/browser/ui/content_suggestions/cells/BUILD.gn:40: "content_suggestions_most_visited_tile_unittest.mm", Can you add a simple CSMostVisited unittests ...
3 years, 8 months ago (2017-04-07 10:58:22 UTC) #3
stkhapugin
https://codereview.chromium.org/2803223002/diff/20001/ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited.h File ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited.h (right): https://codereview.chromium.org/2803223002/diff/20001/ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited.h#newcode21 ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited.h:21: @property(nonatomic, strong, nullable) FaviconAttributes* attributes; Should this really be ...
3 years, 8 months ago (2017-04-07 11:15:19 UTC) #4
gambard
Thanks, PTAL. https://codereview.chromium.org/2803223002/diff/20001/ios/chrome/browser/ui/content_suggestions/cells/BUILD.gn File ios/chrome/browser/ui/content_suggestions/cells/BUILD.gn (right): https://codereview.chromium.org/2803223002/diff/20001/ios/chrome/browser/ui/content_suggestions/cells/BUILD.gn#newcode40 ios/chrome/browser/ui/content_suggestions/cells/BUILD.gn:40: "content_suggestions_most_visited_tile_unittest.mm", On 2017/04/07 10:58:22, lpromero wrote: > ...
3 years, 8 months ago (2017-04-07 14:47:22 UTC) #5
lpromero
https://codereview.chromium.org/2803223002/diff/20001/ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited_tile_unittest.mm File ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited_tile_unittest.mm (right): https://codereview.chromium.org/2803223002/diff/20001/ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited_tile_unittest.mm#newcode18 ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited_tile_unittest.mm:18: [ContentSuggestionsMostVisitedTile tileWithTitle:title attributes:nil]; On 2017/04/07 14:47:22, gambard wrote: > ...
3 years, 8 months ago (2017-04-07 15:16:12 UTC) #6
gambard
Thanks, PTAL. https://codereview.chromium.org/2803223002/diff/40001/ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited.h File ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited.h (right): https://codereview.chromium.org/2803223002/diff/40001/ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited.h#newcode21 ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited.h:21: + (nullable ContentSuggestionsMostVisited*) On 2017/04/07 15:16:12, lpromero ...
3 years, 8 months ago (2017-04-10 11:01:37 UTC) #7
stkhapugin
lgtm with comments https://codereview.chromium.org/2803223002/diff/20001/ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited.h File ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited.h (right): https://codereview.chromium.org/2803223002/diff/20001/ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited.h#newcode21 ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited.h:21: @property(nonatomic, strong, nullable) FaviconAttributes* attributes; On ...
3 years, 8 months ago (2017-04-10 11:17:37 UTC) #8
gambard
Thanks! https://codereview.chromium.org/2803223002/diff/20001/ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited.h File ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited.h (right): https://codereview.chromium.org/2803223002/diff/20001/ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited.h#newcode21 ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited.h:21: @property(nonatomic, strong, nullable) FaviconAttributes* attributes; On 2017/04/10 11:17:37, ...
3 years, 8 months ago (2017-04-10 12:06:34 UTC) #9
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/2803223002/80001
3 years, 8 months ago (2017-04-10 13:51:48 UTC) #16
commit-bot: I haz the power
3 years, 8 months ago (2017-04-10 14:28:45 UTC) #19
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/cde4c9664fbafda7dffe1c61ac05...

Powered by Google App Engine
This is Rietveld 408576698