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 740a2b129dc34a50d53581fa40244f174491602a..464d3b5080262edd7bb092e0f1af879ba38808f0 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(); |