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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetsBridge.java

Issue 2663313002: 📰 Merge the has_fetch_more and has_reload actions (Closed)
Patch Set: fix tests pt 2 Created 3 years, 11 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: chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetsBridge.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetsBridge.java b/chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetsBridge.java
index 87e5e0039afed783181ff92eb48ffec379023e5a..2f5a93a188079b1a9ee53a19b656f5faf69f4f82 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetsBridge.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetsBridge.java
@@ -286,10 +286,10 @@ private static void setRecentTabDataForSuggestion(
@CalledByNative
private static SuggestionsCategoryInfo createSuggestionsCategoryInfo(int category, String title,
- int cardLayout, boolean hasMoreAction, boolean hasReloadAction,
- boolean hasViewAllAction, boolean showIfEmpty, String noSuggestionsMessage) {
- return new SuggestionsCategoryInfo(category, title, cardLayout, hasMoreAction,
- hasReloadAction, hasViewAllAction, showIfEmpty, noSuggestionsMessage);
+ int cardLayout, boolean hasFetchAction, boolean hasViewAllAction, boolean showIfEmpty,
+ String noSuggestionsMessage) {
+ return new SuggestionsCategoryInfo(category, title, cardLayout, hasFetchAction,
+ hasViewAllAction, showIfEmpty, noSuggestionsMessage);
}
@CalledByNative

Powered by Google App Engine
This is Rietveld 408576698