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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillPopupGlue.java

Issue 16994006: [Android] Change the AutofillPopup UI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 6 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/autofill/AutofillPopupGlue.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillPopupGlue.java b/chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillPopupGlue.java
index b22434d588982794a893c98eece7152cd28decf0..4a2f9413d766240c125b117ed150334522fca6d9 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillPopupGlue.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillPopupGlue.java
@@ -81,14 +81,14 @@ public class AutofillPopupGlue implements AutofillPopupDelegate{
/**
* @param array AutofillSuggestion array that should get a new suggestion added.
* @param index Index in the array where to place a new suggestion.
- * @param name Name of the suggestion.
- * @param label Label of the suggestion.
+ * @param label First line of the suggestion.
+ * @param sublabel Second line of the suggestion.
* @param uniqueId Unique suggestion id.
*/
@CalledByNative
private static void addToAutofillSuggestionArray(AutofillSuggestion[] array, int index,
- String name, String label, int uniqueId) {
- array[index] = new AutofillSuggestion(name, label, uniqueId);
+ String label, String sublabel, int uniqueId) {
+ array[index] = new AutofillSuggestion(label, sublabel, uniqueId);
}
private native void nativeRequestHide(int nativeAutofillPopupViewAndroid);

Powered by Google App Engine
This is Rietveld 408576698