1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 package org.chromium.ui.autofill;
7 import org.chromium.ui.DropdownItem;
10 * Autofill suggestion container used to store information needed for each Autofill popup entry.
12 public class AutofillSuggestion implements DropdownItem {
14 final String mSublabel;
18 * Constructs a Autofill suggestion container.
19 * @param name The name of the Autofill suggestion.
20 * @param label The describing label of the Autofill suggestion.
21 * @param uniqueId The unique id used to identify the Autofill suggestion.
23 public AutofillSuggestion(String name, String label, int uniqueId) {
30 public String getLabel() {
35 public String getSublabel() {
40 public boolean isEnabled() {
45 public boolean isGroupHeader() {
49 public int getUniqueId() {