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

Unified Diff: components/ntp_snippets/remote/ntp_snippets_service.cc

Issue 2463133002: 📰 Make the MORE button more configurable (Closed)
Patch Set: rebase Created 4 years, 1 month 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/remote/ntp_snippets_service.cc
diff --git a/components/ntp_snippets/remote/ntp_snippets_service.cc b/components/ntp_snippets/remote/ntp_snippets_service.cc
index 6d7c5418da939ae436a566f9fd329852dea18c03..11a6252b2aa0529f6e0ad6f87670a0f2e1c537c7 100644
--- a/components/ntp_snippets/remote/ntp_snippets_service.cc
+++ b/components/ntp_snippets/remote/ntp_snippets_service.cc
@@ -317,7 +317,9 @@ CategoryInfo NTPSnippetsService::GetCategoryInfo(Category category) {
const CategoryContent& content = categories_[category];
return CategoryInfo(
content.localized_title, ContentSuggestionsCardLayout::FULL_CARD,
- /*has_more_button=*/false,
+ /*has_more_action=*/false,
+ /*has_reload_action=*/true,
+ /*has_view_all_action=*/false,
/*show_if_empty=*/true,
l10n_util::GetStringUTF16(IDS_NTP_ARTICLE_SUGGESTIONS_SECTION_EMPTY));
}

Powered by Google App Engine
This is Rietveld 408576698