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

Unified Diff: components/ntp_snippets/offline_pages/offline_page_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: 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/offline_pages/offline_page_suggestions_provider.cc
diff --git a/components/ntp_snippets/offline_pages/offline_page_suggestions_provider.cc b/components/ntp_snippets/offline_pages/offline_page_suggestions_provider.cc
index 897bc5b45e0356fc4062cd8cd7940c2943a38bb4..69e4ff13ae82e68527676e22fcdb85ea80a2e518 100644
--- a/components/ntp_snippets/offline_pages/offline_page_suggestions_provider.cc
+++ b/components/ntp_snippets/offline_pages/offline_page_suggestions_provider.cc
@@ -70,7 +70,8 @@ CategoryInfo OfflinePageSuggestionsProvider::GetCategoryInfo(
Category category) {
// TODO(pke): Use the proper string once it's agreed on.
return CategoryInfo(base::ASCIIToUTF16("Offline pages"),
- ContentSuggestionsCardLayout::MINIMAL_CARD);
+ ContentSuggestionsCardLayout::MINIMAL_CARD,
+ /* has_more_button */ false);
}
void OfflinePageSuggestionsProvider::DismissSuggestion(

Powered by Google App Engine
This is Rietveld 408576698