| Index: chrome/browser/ui/autofill/autofill_dialog_controller.h
|
| diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller.h b/chrome/browser/ui/autofill/autofill_dialog_controller.h
|
| index 4a2bb1756b770203ca1937bb11804e34f9381bd6..97f6811b8a4a7e225fc51e5cd63e887e35485b27 100644
|
| --- a/chrome/browser/ui/autofill/autofill_dialog_controller.h
|
| +++ b/chrome/browser/ui/autofill/autofill_dialog_controller.h
|
| @@ -103,8 +103,16 @@ class AutofillDialogController {
|
| AutofillFieldType type) = 0;
|
|
|
| // Returns the model for suggestions for fields that fall under |section|.
|
| + // This may return NULL, in which case no menu should be shown for that
|
| + // section.
|
| virtual ui::MenuModel* MenuModelForSection(DialogSection section) = 0;
|
|
|
| +#if defined(OS_ANDROID)
|
| + // As the above, but will never return NULL. TODO(estade): android should
|
| + // stop relying on this and it should be removed.
|
| + virtual ui::MenuModel* MenuModelForSectionHack(DialogSection section) = 0;
|
| +#endif
|
| +
|
| // Returns the label text used to describe the section (i.e. Billing).
|
| virtual string16 LabelForSection(DialogSection section) const = 0;
|
|
|
|
|