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

Unified Diff: chrome/browser/android/ntp/ntp_snippets_bridge.h

Issue 2232783002: Support action button to fetch more content suggestions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@snippetsbridge
Patch Set: 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: chrome/browser/android/ntp/ntp_snippets_bridge.h
diff --git a/chrome/browser/android/ntp/ntp_snippets_bridge.h b/chrome/browser/android/ntp/ntp_snippets_bridge.h
index dcc124aee6e290babb421fed6c4f828ef89721ee..48910f33975071c4f144148ef4d18b4afc9efcbc 100644
--- a/chrome/browser/android/ntp/ntp_snippets_bridge.h
+++ b/chrome/browser/android/ntp/ntp_snippets_bridge.h
@@ -51,6 +51,13 @@ class NTPSnippetsBridge
const base::android::JavaParamRef<jobject>& obj,
jint category);
+ // Triggers a fetch for new suggestions (over the network, for example) for
+ // the given |category|. This must be initiated by the user (e.g. by clicking
+ // the a "More" button).
Marc Treib 2016/08/10 09:40:30 nit: remove "a"
Philipp Keck 2016/08/10 13:14:46 Done.
+ void FetchMoreSuggestions(JNIEnv* env,
+ const base::android::JavaParamRef<jobject>& obj,
+ jint category);
+
void FetchSuggestionImage(
JNIEnv* env,
const base::android::JavaParamRef<jobject>& obj,

Powered by Google App Engine
This is Rietveld 408576698