Index: chrome/browser/ui/autofill/autofill_dialog_controller_impl.h |
diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h |
index 14fbef02ac26b2f20579b1d214897beb7effa274..c7dd03d303dfdf37352ef1cae392d43f95f92c3a 100644 |
--- a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h |
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h |
@@ -449,6 +449,15 @@ class AutofillDialogControllerImpl : public AutofillDialogViewDelegate, |
// Like RequestedFieldsForSection, but returns a pointer. |
DetailInputs* MutableRequestedFieldsForSection(DialogSection section); |
+ // Whether |model| is a combobox for a country. |
+ bool IsCountryComboboxModel(const ui::ComboboxModel* model) const; |
+ |
+ // Called when user switches countries. |
+ void OnCountryComboboxModelChanged(const CountryComboboxModel& model); |
+ |
+ // Returns the country code (e.g. "US") for |section|. |
+ std::string CountryCodeForSection(DialogSection section); |
+ |
// Hides |popup_controller_|'s popup view, if it exists. |
void HidePopup(); |
@@ -649,8 +658,9 @@ class AutofillDialogControllerImpl : public AutofillDialogViewDelegate, |
MonthComboboxModel cc_exp_month_combobox_model_; |
YearComboboxModel cc_exp_year_combobox_model_; |
- // Model for the country input. |
- CountryComboboxModel country_combobox_model_; |
+ // Models for country input. |
+ CountryComboboxModel billing_country_combobox_model_; |
+ CountryComboboxModel shipping_country_combobox_model_; |
// Models for the suggestion views. |
SuggestionsMenuModel suggested_cc_; |