| 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 a9acd42f0e99d876aa8332a8406d91697d3648fe..3aa0cb598023a935c3075db61918988790512f61 100644
|
| --- a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
|
| +++ b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
|
| @@ -146,6 +146,9 @@ class AutofillDialogControllerImpl : public AutofillDialogViewDelegate,
|
| bool was_edit) OVERRIDE;
|
| virtual bool HandleKeyPressEventInInput(
|
| const content::NativeWebKeyboardEvent& event) OVERRIDE;
|
| + virtual void ComboboxItemSelected(ui::ComboboxModel* model,
|
| + DialogSection section,
|
| + int index) OVERRIDE;
|
| virtual void FocusMoved() OVERRIDE;
|
| virtual bool ShouldShowErrorBubble() const OVERRIDE;
|
| virtual void ViewClosed() OVERRIDE;
|
| @@ -454,6 +457,14 @@ class AutofillDialogControllerImpl : public AutofillDialogViewDelegate,
|
| // Like RequestedFieldsForSection, but returns a pointer.
|
| DetailInputs* MutableRequestedFieldsForSection(DialogSection section);
|
|
|
| + // Gets the country code (e.g. "US") that should be used for |section|.
|
| + std::string GetCountryCodeForSection(DialogSection section) const;
|
| +
|
| + // Sets the country code that should be used for |section|. Also rebuilds this
|
| + // section's inputs and updates the view.
|
| + void SetCountryCodeForSection(DialogSection section,
|
| + const std::string& country_code);
|
| +
|
| // Hides |popup_controller_|'s popup view, if it exists.
|
| void HidePopup();
|
|
|
| @@ -670,6 +681,10 @@ class AutofillDialogControllerImpl : public AutofillDialogViewDelegate,
|
| // we should show a shipping section.
|
| bool cares_about_shipping_;
|
|
|
| + // Country codes to use when creating/filling billing or shipping inputs.
|
| + std::string billing_country_code_;
|
| + std::string shipping_country_code_;
|
| +
|
| // The GUIDs for the currently showing unverified profiles popup.
|
| std::vector<PersonalDataManager::GUIDPair> popup_guids_;
|
|
|
|
|