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

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

Issue 63053003: Ask libaddressinput for address components to use in requestAutocomplete(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 1 month 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_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 fe65abf0043d983d535dca161665782c61570ef5..910d28f4178af2e2dcab4c009423771e38e0aa66 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
@@ -147,6 +147,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;
@@ -317,6 +320,11 @@ class AutofillDialogControllerImpl : public AutofillDialogViewDelegate,
DialogSignedInState SignedInState() const;
private:
+ // Builds the set of inputs required for |country_code| in |section| and
+ // updates the view if necessary.
+ void BuildInputsForSection(DialogSection section,
+ const std::string& country_code);
+
// Whether or not the current request wants credit info back.
bool RequestingCreditCardInfo() const;

Powered by Google App Engine
This is Rietveld 408576698