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

Issue 2887073002: Layout Most Visited for ContentSuggestions (Closed)

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

Description

Layout Most Visited for ContentSuggestions Layout the Most Visited tiles to have them displayed as wanted in the ContentSuggestions view. It displays them as individual cells, maximum 4 by rows. BUG=707754 Review-Url: https://codereview.chromium.org/2887073002 Cr-Commit-Position: refs/heads/master@{#472712} Committed: https://chromium.googlesource.com/chromium/src/+/77cd7e79cf24ddef0c1a40c3f5497eb125432aee

Patch Set 1 #

Total comments: 2

Patch Set 2 : Make single-line if cohenrent #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -2 lines) Patch
M ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited_cell.mm View 1 chunk +2 lines, -2 lines 0 comments Download
M ios/chrome/browser/ui/content_suggestions/content_suggestions_collection_updater.h View 1 chunk +3 lines, -0 lines 0 comments Download
M ios/chrome/browser/ui/content_suggestions/content_suggestions_collection_updater.mm View 1 chunk +6 lines, -0 lines 0 comments Download
M ios/chrome/browser/ui/content_suggestions/content_suggestions_view_controller.mm View 1 2 chunks +41 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 14 (8 generated)
gambard
PTAL.
3 years, 7 months ago (2017-05-17 07:24:15 UTC) #2
lody
https://codereview.chromium.org/2887073002/diff/1/ios/chrome/browser/ui/content_suggestions/content_suggestions_view_controller.mm File ios/chrome/browser/ui/content_suggestions/content_suggestions_view_controller.mm (right): https://codereview.chromium.org/2887073002/diff/1/ios/chrome/browser/ui/content_suggestions/content_suggestions_view_controller.mm#newcode153 ios/chrome/browser/ui/content_suggestions/content_suggestions_view_controller.mm:153: if ([self.collectionUpdater isMostVisitedSection:indexPath.section]) It looks like single-line ifs in ...
3 years, 7 months ago (2017-05-17 08:23:34 UTC) #3
gambard
Thanks, PTAL :) https://codereview.chromium.org/2887073002/diff/1/ios/chrome/browser/ui/content_suggestions/content_suggestions_view_controller.mm File ios/chrome/browser/ui/content_suggestions/content_suggestions_view_controller.mm (right): https://codereview.chromium.org/2887073002/diff/1/ios/chrome/browser/ui/content_suggestions/content_suggestions_view_controller.mm#newcode153 ios/chrome/browser/ui/content_suggestions/content_suggestions_view_controller.mm:153: if ([self.collectionUpdater isMostVisitedSection:indexPath.section]) On 2017/05/17 08:23:33, ...
3 years, 7 months ago (2017-05-17 09:39:43 UTC) #4
lody
lgtm
3 years, 7 months ago (2017-05-17 09:40:29 UTC) #5
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/2887073002/20001
3 years, 7 months ago (2017-05-18 06:35:14 UTC) #11
commit-bot: I haz the power
3 years, 7 months ago (2017-05-18 06:41:50 UTC) #14
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/77cd7e79cf24ddef0c1a40c3f549...

Powered by Google App Engine
This is Rietveld 408576698