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

Unified Diff: components/ntp_snippets/bookmarks/bookmark_suggestions_provider.cc

Issue 2232783002: Support action button to fetch more content suggestions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@snippetsbridge
Patch Set: Refactor NewTabPageAdapterTest 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/bookmarks/bookmark_suggestions_provider.cc
diff --git a/components/ntp_snippets/bookmarks/bookmark_suggestions_provider.cc b/components/ntp_snippets/bookmarks/bookmark_suggestions_provider.cc
index f77fcd4229788a661994fbd9fea079fd9098298d..0048e28ad2fa845aeeeb8f0656b8086ed5b323be 100644
--- a/components/ntp_snippets/bookmarks/bookmark_suggestions_provider.cc
+++ b/components/ntp_snippets/bookmarks/bookmark_suggestions_provider.cc
@@ -92,7 +92,7 @@ CategoryStatus BookmarkSuggestionsProvider::GetCategoryStatus(
CategoryInfo BookmarkSuggestionsProvider::GetCategoryInfo(Category category) {
return CategoryInfo(
l10n_util::GetStringUTF16(IDS_NTP_BOOKMARK_SUGGESTIONS_SECTION_HEADER),
- ContentSuggestionsCardLayout::MINIMAL_CARD);
+ ContentSuggestionsCardLayout::MINIMAL_CARD, true);
Marc Treib 2016/08/12 08:44:39 Optional: You could add a /* has_more_button */ co
Philipp Keck 2016/08/12 09:11:31 Done.
}
void BookmarkSuggestionsProvider::DismissSuggestion(

Powered by Google App Engine
This is Rietveld 408576698