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

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

Issue 490193003: Hook up autofill popup control elements (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix ChromeNativeTestApplication Created 6 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
« no previous file with comments | « ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/android/java/src/org/chromium/ui/autofill/AutofillSuggestion.java
diff --git a/ui/android/java/src/org/chromium/ui/autofill/AutofillSuggestion.java b/ui/android/java/src/org/chromium/ui/autofill/AutofillSuggestion.java
index 3e8462e7605fea237489e7b2c7ea1afa49f818cc..a1fb2b02c5399602f6f35a5d7f13a7cd244f0bec 100644
--- a/ui/android/java/src/org/chromium/ui/autofill/AutofillSuggestion.java
+++ b/ui/android/java/src/org/chromium/ui/autofill/AutofillSuggestion.java
@@ -12,18 +12,18 @@ import org.chromium.ui.DropdownItem;
public class AutofillSuggestion implements DropdownItem {
private final String mLabel;
private final String mSublabel;
- private final int mUniqueId;
+ private final int mSuggestionId;
/**
* Constructs a Autofill suggestion container.
* @param name The name of the Autofill suggestion.
* @param label The describing label of the Autofill suggestion.
- * @param uniqueId The unique id used to identify the Autofill suggestion.
+ * @param suggestionId The type of suggestion.
*/
- public AutofillSuggestion(String name, String label, int uniqueId) {
+ public AutofillSuggestion(String name, String label, int suggestionId) {
mLabel = name;
mSublabel = label;
- mUniqueId = uniqueId;
+ mSuggestionId = suggestionId;
}
@Override
@@ -46,7 +46,7 @@ public class AutofillSuggestion implements DropdownItem {
return false;
}
- public int getUniqueId() {
- return mUniqueId;
+ public int getSuggestionId() {
+ return mSuggestionId;
}
}
« no previous file with comments | « ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698