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

Unified Diff: components/ntp_snippets/category_info.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/category_info.cc
diff --git a/components/ntp_snippets/category_info.cc b/components/ntp_snippets/category_info.cc
index 391900e8f9537c06a0d043b77b24c80364072e9f..62e243c297e166c3ab55a8b5ac4251ffdceecf99 100644
--- a/components/ntp_snippets/category_info.cc
+++ b/components/ntp_snippets/category_info.cc
@@ -8,15 +8,23 @@ namespace ntp_snippets {
CategoryInfo::CategoryInfo(const base::string16& title,
ContentSuggestionsCardLayout card_layout,
- bool has_more_button,
+ bool has_more_action,
+ bool has_reload_action,
+ bool has_view_all_action,
bool show_if_empty,
const base::string16& no_suggestions_message)
: title_(title),
card_layout_(card_layout),
- has_more_button_(has_more_button),
+ has_more_action_(has_more_action),
+ has_reload_action_(has_reload_action),
+ has_view_all_action_(has_view_all_action),
show_if_empty_(show_if_empty),
no_suggestions_message_(no_suggestions_message) {}
+CategoryInfo::CategoryInfo(CategoryInfo&&) = default;
+
+CategoryInfo& CategoryInfo::operator=(CategoryInfo&&) = default;
+
CategoryInfo::~CategoryInfo() = default;
} // namespace ntp_snippets
« no previous file with comments | « components/ntp_snippets/category_info.h ('k') | components/ntp_snippets/content_suggestions_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698