| Index: chrome/browser/ui/autofill/autofill_dialog_models.h
|
| diff --git a/chrome/browser/ui/autofill/autofill_dialog_models.h b/chrome/browser/ui/autofill/autofill_dialog_models.h
|
| index c04c8889ccc412fcc4f6b1443364cf74fc5fa793..bd2488a43f42fe62e09605acc385a4464b2e44b7 100644
|
| --- a/chrome/browser/ui/autofill/autofill_dialog_models.h
|
| +++ b/chrome/browser/ui/autofill/autofill_dialog_models.h
|
| @@ -47,6 +47,19 @@ class SuggestionsMenuModel : public ui::SimpleMenuModel,
|
| const string16& display_label,
|
| const gfx::Image& icon);
|
|
|
| + // Adds a label with a sublabel and its identifying key to the model.
|
| + // Keys needn't be unique.
|
| + void AddKeyedItemWithSublabel(const std::string& key,
|
| + const string16& display_label,
|
| + const string16& display_sublabel);
|
| +
|
| + // As above, but also accepts an image which will be displayed alongside the
|
| + // text.
|
| + void AddKeyedItemWithSublabelAndIcon(const std::string& key,
|
| + const string16& display_label,
|
| + const string16& display_sublabel,
|
| + const gfx::Image& icon);
|
| +
|
| // Resets the model to empty.
|
| void Reset();
|
|
|
|
|