| Index: chrome/browser/ui/autofill/autofill_dialog_models.cc
|
| diff --git a/chrome/browser/ui/autofill/autofill_dialog_models.cc b/chrome/browser/ui/autofill/autofill_dialog_models.cc
|
| index c64147bfd0e0870f224ce4c44fc2eabd05b2879c..99c5479d10e8426fa2821038c151732a39661dfd 100644
|
| --- a/chrome/browser/ui/autofill/autofill_dialog_models.cc
|
| +++ b/chrome/browser/ui/autofill/autofill_dialog_models.cc
|
| @@ -43,6 +43,21 @@ void SuggestionsMenuModel::AddKeyedItemWithIcon(
|
| SetIcon(items_.size() - 1, icon);
|
| }
|
|
|
| +void SuggestionsMenuModel::AddKeyedItemWithSublabel(
|
| + const std::string& key,
|
| + const string16& display_label, const string16& display_sublabel) {
|
| + AddKeyedItem(key, display_label);
|
| + SetSublabel(items_.size() - 1, display_sublabel);
|
| +}
|
| +
|
| +void SuggestionsMenuModel::AddKeyedItemWithSublabelAndIcon(
|
| + const std::string& key,
|
| + const string16& display_label, const string16& display_sublabel,
|
| + const gfx::Image& icon) {
|
| + AddKeyedItemWithIcon(key, display_label, icon);
|
| + SetSublabel(items_.size() - 1, display_sublabel);
|
| +}
|
| +
|
| void SuggestionsMenuModel::Reset() {
|
| checked_item_ = 0;
|
| items_.clear();
|
|
|