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

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

Issue 16994006: [Android] Change the AutofillPopup UI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Adding a hack to prevent the popup from expanding on top of the keyboard 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/AutofillSuggestion.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillSuggestion.java b/chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillSuggestion.java
index adfd0f95413fa2fa2f2d352e7c4745bd4abdbe5d..5ea57ed8bbcbcf60cc8cdaceaa339ff42f4bbff9 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillSuggestion.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillSuggestion.java
@@ -8,9 +8,9 @@ package org.chromium.chrome.browser.autofill;
* Autofill suggestion container used to store information needed for each Autofill popup entry.
*/
public class AutofillSuggestion {
- public final String mName;
- public final String mLabel;
- public final int mUniqueId;
+ final String mLabel;
+ final String mSublabel;
+ final int mUniqueId;
/**
* Constructs a Autofill suggestion container.
@@ -19,8 +19,8 @@ public class AutofillSuggestion {
* @param uniqueId The unique id used to identify the Autofill suggestion.
*/
public AutofillSuggestion(String name, String label, int uniqueId) {
- mName = name;
- mLabel = label;
+ mLabel = name;
+ mSublabel = label;
mUniqueId = uniqueId;
}
}

Powered by Google App Engine
This is Rietveld 408576698