Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2203)

Unified Diff: chrome/browser/ui/autofill/autofill_dialog_controller.h

Issue 14571003: Don't display drop down arrows in rAc dialog unless there is a suggestion (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update tests Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..015ad779b593d067e156fc3e3f574e03c882194e 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_controller.h
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller.h
@@ -103,6 +103,8 @@ 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;
// Returns the label text used to describe the section (i.e. Billing).

Powered by Google App Engine
This is Rietveld 408576698