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

Unified Diff: chrome/browser/ui/views/autofill/autofill_dialog_views.h

Issue 63053003: Ask libaddressinput for address components to use in requestAutocomplete(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: base:: Created 6 years, 12 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/views/autofill/autofill_dialog_views.h
diff --git a/chrome/browser/ui/views/autofill/autofill_dialog_views.h b/chrome/browser/ui/views/autofill/autofill_dialog_views.h
index 1e5fb1580e52ba50d89d5614053fe76ffbd4320b..95d253a7121c3eaf9c2524f49be91c0b29d146a3 100644
--- a/chrome/browser/ui/views/autofill/autofill_dialog_views.h
+++ b/chrome/browser/ui/views/autofill/autofill_dialog_views.h
@@ -505,10 +505,8 @@ class AutofillDialogViews : public AutofillDialogView,
// a given section.
views::View* CreateInputsContainer(DialogSection section);
- // Creates a grid of textfield views for the given section, and stores them
- // in the appropriate DetailsGroup. The top level View in the hierarchy is
- // returned.
- views::View* InitInputsView(DialogSection section);
+ // Creates a grid of inputs for the given section.
+ void InitInputsView(DialogSection section);
// Changes the function of the whole dialog. Currently this can show a loading
// shield, an embedded sign in web view, or the more typical detail input mode
@@ -580,6 +578,9 @@ class AutofillDialogViews : public AutofillDialogView,
// Gets the combobox view that is shown for the given |type|, or NULL.
views::Combobox* ComboboxForType(ServerFieldType type);
+ // Returns the associated ServerFieldType for |combobox|.
+ ServerFieldType TypeForCombobox(const views::Combobox* combobox) const;
+
// Called when the details container changes in size or position.
void DetailsContainerBoundsChanged();

Powered by Google App Engine
This is Rietveld 408576698