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

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

Issue 11428071: support CC expiration dates in imperative autocomplete dialog. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review Created 8 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/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 3cb453bc777eb029ff46f73fc4fb6182921a7806..3c572ac92c01105ff7e6c8a99e0200ee59bec753 100644
--- a/chrome/browser/ui/views/autofill/autofill_dialog_views.h
+++ b/chrome/browser/ui/views/autofill/autofill_dialog_views.h
@@ -52,7 +52,6 @@ class AutofillDialogViews : public AutofillDialogView,
virtual string16 GetDialogButtonLabel(ui::DialogButton button) const OVERRIDE;
virtual bool IsDialogButtonEnabled(ui::DialogButton button) const OVERRIDE;
virtual bool UseChromeStyle() const OVERRIDE;
- virtual ui::ModalType GetModalType() const OVERRIDE;
virtual bool Cancel() OVERRIDE;
virtual bool Accept() OVERRIDE;
@@ -65,6 +64,7 @@ class AutofillDialogViews : public AutofillDialogView,
private:
typedef std::map<const DetailInput*, views::Textfield*> TextfieldMap;
+ typedef std::map<const DetailInput*, views::Combobox*> ComboboxMap;
// A convenience struct for holding pointers to views within each detail
// section. None of the member pointers are owned.
@@ -80,6 +80,8 @@ class AutofillDialogViews : public AutofillDialogView,
views::View* manual_input;
// The textfields in |manual_input|, tracked by their DetailInput.
TextfieldMap textfields;
+ // The comboboxes in |manual_input|, tracked by their DetailInput.
+ ComboboxMap comboboxes;
};
void InitChildViews();
« no previous file with comments | « chrome/browser/ui/autofill/autofill_dialog_controller.cc ('k') | chrome/browser/ui/views/autofill/autofill_dialog_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698