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

Issue 2689953003: Add Category wrapper for ContentSuggestions on iOS (Closed)

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

Description

Add Category wrapper for ContentSuggestions on iOS This CL adds an Objective-C wrapper for the ntp_snippets::Category. It also adds a SectionInformation containing the informations relative to a section, like the title, layout, ordering and cell to display when the section is empty. BUG=686728 Review-Url: https://codereview.chromium.org/2689953003 Cr-Commit-Position: refs/heads/master@{#450012} Committed: https://chromium.googlesource.com/chromium/src/+/79a649cdaa78cd9f9b6c040b1bccc89c7efcb7e5

Patch Set 1 #

Patch Set 2 : Reviewable #

Patch Set 3 : Typos #

Patch Set 4 : Add include #

Total comments: 25

Patch Set 5 : Address comments #

Patch Set 6 : Add comments #

Total comments: 8

Patch Set 7 : Address comments #

Patch Set 8 : Fix title copu #

Messages

Total messages: 18 (5 generated)
gambard
PTAL. +baxley@ for ios/chrome/test/BUILD.gn
3 years, 10 months ago (2017-02-13 09:25:38 UTC) #2
gambard
This is used in https://codereview.chromium.org/2691593002/
3 years, 10 months ago (2017-02-13 09:31:33 UTC) #3
stkhapugin
https://codereview.chromium.org/2689953003/diff/60001/ios/chrome/browser/content_suggestions/content_suggestions_category_wrapper.h File ios/chrome/browser/content_suggestions/content_suggestions_category_wrapper.h (right): https://codereview.chromium.org/2689953003/diff/60001/ios/chrome/browser/content_suggestions/content_suggestions_category_wrapper.h#newcode19 ios/chrome/browser/content_suggestions/content_suggestions_category_wrapper.h:19: @property(nonatomic, assign, readonly) ntp_snippets::Category category; This is not a ...
3 years, 10 months ago (2017-02-13 12:19:19 UTC) #4
lpromero
https://codereview.chromium.org/2689953003/diff/60001/ios/chrome/browser/content_suggestions/content_suggestions_category_wrapper.mm File ios/chrome/browser/content_suggestions/content_suggestions_category_wrapper.mm (right): https://codereview.chromium.org/2689953003/diff/60001/ios/chrome/browser/content_suggestions/content_suggestions_category_wrapper.mm#newcode30 ios/chrome/browser/content_suggestions/content_suggestions_category_wrapper.mm:30: if (![object isKindOfClass:[ContentSuggestionsCategoryWrapper class]]) { On 2017/02/13 12:19:18, stkhapugin ...
3 years, 10 months ago (2017-02-13 12:34:55 UTC) #5
stkhapugin
https://codereview.chromium.org/2689953003/diff/60001/ios/chrome/browser/content_suggestions/content_suggestions_category_wrapper.mm File ios/chrome/browser/content_suggestions/content_suggestions_category_wrapper.mm (right): https://codereview.chromium.org/2689953003/diff/60001/ios/chrome/browser/content_suggestions/content_suggestions_category_wrapper.mm#newcode30 ios/chrome/browser/content_suggestions/content_suggestions_category_wrapper.mm:30: if (![object isKindOfClass:[ContentSuggestionsCategoryWrapper class]]) { On 2017/02/13 12:34:55, lpromero ...
3 years, 10 months ago (2017-02-13 13:31:38 UTC) #6
lpromero
https://codereview.chromium.org/2689953003/diff/60001/ios/chrome/browser/content_suggestions/content_suggestions_category_wrapper.mm File ios/chrome/browser/content_suggestions/content_suggestions_category_wrapper.mm (right): https://codereview.chromium.org/2689953003/diff/60001/ios/chrome/browser/content_suggestions/content_suggestions_category_wrapper.mm#newcode30 ios/chrome/browser/content_suggestions/content_suggestions_category_wrapper.mm:30: if (![object isKindOfClass:[ContentSuggestionsCategoryWrapper class]]) { On 2017/02/13 13:31:38, stkhapugin ...
3 years, 10 months ago (2017-02-13 13:55:32 UTC) #7
baxley
ios/chrome/test/BUILD.gn LGTM
3 years, 10 months ago (2017-02-13 14:26:29 UTC) #8
gambard
Thanks, PTAL. https://codereview.chromium.org/2689953003/diff/60001/ios/chrome/browser/content_suggestions/content_suggestions_category_wrapper.h File ios/chrome/browser/content_suggestions/content_suggestions_category_wrapper.h (right): https://codereview.chromium.org/2689953003/diff/60001/ios/chrome/browser/content_suggestions/content_suggestions_category_wrapper.h#newcode19 ios/chrome/browser/content_suggestions/content_suggestions_category_wrapper.h:19: @property(nonatomic, assign, readonly) ntp_snippets::Category category; On 2017/02/13 ...
3 years, 10 months ago (2017-02-13 14:51:41 UTC) #9
lpromero
lgtm
3 years, 10 months ago (2017-02-13 14:57:32 UTC) #10
stkhapugin
lgtm https://codereview.chromium.org/2689953003/diff/90001/ios/chrome/browser/ui/content_suggestions/content_suggestions_section_information.h File ios/chrome/browser/ui/content_suggestions/content_suggestions_section_information.h (right): https://codereview.chromium.org/2689953003/diff/90001/ios/chrome/browser/ui/content_suggestions/content_suggestions_section_information.h#newcode22 ios/chrome/browser/ui/content_suggestions/content_suggestions_section_information.h:22: // When adding a new kind of suggestions, ...
3 years, 10 months ago (2017-02-13 15:42:50 UTC) #11
gambard
Thanks! https://codereview.chromium.org/2689953003/diff/90001/ios/chrome/browser/ui/content_suggestions/content_suggestions_section_information.h File ios/chrome/browser/ui/content_suggestions/content_suggestions_section_information.h (right): https://codereview.chromium.org/2689953003/diff/90001/ios/chrome/browser/ui/content_suggestions/content_suggestions_section_information.h#newcode22 ios/chrome/browser/ui/content_suggestions/content_suggestions_section_information.h:22: // When adding a new kind of suggestions, ...
3 years, 10 months ago (2017-02-13 16:28:04 UTC) #14
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/2689953003/130001
3 years, 10 months ago (2017-02-13 16:28:26 UTC) #15
commit-bot: I haz the power
3 years, 10 months ago (2017-02-13 18:16:18 UTC) #18
Message was sent while issue was closed.
Committed patchset #8 (id:130001) as
https://chromium.googlesource.com/chromium/src/+/79a649cdaa78cd9f9b6c040b1bcc...

Powered by Google App Engine
This is Rietveld 408576698