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

Unified Diff: components/ntp_snippets/ntp_snippets_service.cc

Issue 2232783002: Support action button to fetch more content suggestions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@snippetsbridge
Patch Set: Indent comments Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/ntp_snippets/ntp_snippets_service.cc
diff --git a/components/ntp_snippets/ntp_snippets_service.cc b/components/ntp_snippets/ntp_snippets_service.cc
index d5c0eebd7b9d583df8476015d2e85a08b4cb0220..4a657a0421346244a1ecac9e7aa9402c4fd15057 100644
--- a/components/ntp_snippets/ntp_snippets_service.cc
+++ b/components/ntp_snippets/ntp_snippets_service.cc
@@ -284,7 +284,7 @@ CategoryStatus NTPSnippetsService::GetCategoryStatus(Category category) {
CategoryInfo NTPSnippetsService::GetCategoryInfo(Category category) {
return CategoryInfo(
l10n_util::GetStringUTF16(IDS_NTP_ARTICLE_SUGGESTIONS_SECTION_HEADER),
- ContentSuggestionsCardLayout::FULL_CARD);
+ ContentSuggestionsCardLayout::FULL_CARD, /* has_more_button */ false);
}
void NTPSnippetsService::DismissSuggestion(const std::string& suggestion_id) {

Powered by Google App Engine
This is Rietveld 408576698