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

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

Issue 2627603002: [NTP::SectionOrder] Propagate category rank from UI through the bridge. (Closed)
Patch Set: 1-based categoryRank -> 0-based categoryIndex. 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/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 97be38154d267c14948eaaffedf539a497bec5c2..d920bfd29de22539fdd50d7455090a5687787edd 100644
--- a/chrome/browser/android/ntp/ntp_snippets_bridge.cc
+++ b/chrome/browser/android/ntp/ntp_snippets_bridge.cc
@@ -347,6 +347,7 @@ void NTPSnippetsBridge::OnSuggestionOpened(JNIEnv* env,
const JavaParamRef<jobject>& obj,
jint global_position,
jint j_category_id,
+ jint category_index,
jint category_position,
jlong publish_timestamp_ms,
jfloat score,

Powered by Google App Engine
This is Rietveld 408576698