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

Unified Diff: chrome/browser/android/ntp/ntp_snippets_bridge.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: chrome/browser/android/ntp/ntp_snippets_bridge.cc
diff --git a/chrome/browser/android/ntp/ntp_snippets_bridge.cc b/chrome/browser/android/ntp/ntp_snippets_bridge.cc
index 7780518958d7b19178d08be3fa345068291991ec..e3f4cbbe5e7cd9daa68a90aa3820afa033f7a40d 100644
--- a/chrome/browser/android/ntp/ntp_snippets_bridge.cc
+++ b/chrome/browser/android/ntp/ntp_snippets_bridge.cc
@@ -171,7 +171,8 @@ base::android::ScopedJavaLocalRef<jobject> NTPSnippetsBridge::GetCategoryInfo(
return base::android::ScopedJavaLocalRef<jobject>(env, nullptr);
return Java_SnippetsBridge_createSuggestionsCategoryInfo(
env, category, ConvertUTF16ToJavaString(env, info->title()),
- static_cast<int>(info->card_layout()), info->has_more_button(),
+ static_cast<int>(info->card_layout()), info->has_more_action(),
+ info->has_reload_action(), info->has_view_all_action(),
info->show_if_empty(),
ConvertUTF16ToJavaString(env, info->no_suggestions_message()));
}

Powered by Google App Engine
This is Rietveld 408576698