OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ | 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ |
6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ | 6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 virtual int GetDialogButtons() const OVERRIDE; | 132 virtual int GetDialogButtons() const OVERRIDE; |
133 virtual bool IsDialogButtonEnabled(ui::DialogButton button) const OVERRIDE; | 133 virtual bool IsDialogButtonEnabled(ui::DialogButton button) const OVERRIDE; |
134 virtual DialogOverlayState GetDialogOverlay() const OVERRIDE; | 134 virtual DialogOverlayState GetDialogOverlay() const OVERRIDE; |
135 virtual const std::vector<ui::Range>& LegalDocumentLinks() OVERRIDE; | 135 virtual const std::vector<ui::Range>& LegalDocumentLinks() OVERRIDE; |
136 virtual bool SectionIsActive(DialogSection section) const OVERRIDE; | 136 virtual bool SectionIsActive(DialogSection section) const OVERRIDE; |
137 virtual const DetailInputs& RequestedFieldsForSection(DialogSection section) | 137 virtual const DetailInputs& RequestedFieldsForSection(DialogSection section) |
138 const OVERRIDE; | 138 const OVERRIDE; |
139 virtual ui::ComboboxModel* ComboboxModelForAutofillType( | 139 virtual ui::ComboboxModel* ComboboxModelForAutofillType( |
140 AutofillFieldType type) OVERRIDE; | 140 AutofillFieldType type) OVERRIDE; |
141 virtual ui::MenuModel* MenuModelForSection(DialogSection section) OVERRIDE; | 141 virtual ui::MenuModel* MenuModelForSection(DialogSection section) OVERRIDE; |
142 #if defined(OS_ANDROID) | |
143 virtual ui::MenuModel* MenuModelForSectionHack(DialogSection section) | |
144 OVERRIDE; | |
145 #endif | |
146 virtual string16 LabelForSection(DialogSection section) const OVERRIDE; | 142 virtual string16 LabelForSection(DialogSection section) const OVERRIDE; |
147 virtual SuggestionState SuggestionStateForSection( | 143 virtual SuggestionState SuggestionStateForSection( |
148 DialogSection section) OVERRIDE; | 144 DialogSection section) OVERRIDE; |
149 virtual void EditClickedForSection(DialogSection section) OVERRIDE; | 145 virtual void EditClickedForSection(DialogSection section) OVERRIDE; |
150 virtual void EditCancelledForSection(DialogSection section) OVERRIDE; | 146 virtual void EditCancelledForSection(DialogSection section) OVERRIDE; |
151 virtual gfx::Image IconForField(AutofillFieldType type, | 147 virtual gfx::Image IconForField(AutofillFieldType type, |
152 const string16& user_input) const OVERRIDE; | 148 const string16& user_input) const OVERRIDE; |
153 virtual string16 InputValidityMessage(DialogSection section, | 149 virtual string16 InputValidityMessage(DialogSection section, |
154 AutofillFieldType type, | 150 AutofillFieldType type, |
155 const string16& value) OVERRIDE; | 151 const string16& value) OVERRIDE; |
(...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
722 // show a bubble as the dialog closes to confirm a user's new card info was | 718 // show a bubble as the dialog closes to confirm a user's new card info was |
723 // saved. Never populated while incognito (as nothing's actually saved). | 719 // saved. Never populated while incognito (as nothing's actually saved). |
724 scoped_ptr<CreditCard> newly_saved_card_; | 720 scoped_ptr<CreditCard> newly_saved_card_; |
725 | 721 |
726 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl); | 722 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl); |
727 }; | 723 }; |
728 | 724 |
729 } // namespace autofill | 725 } // namespace autofill |
730 | 726 |
731 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ | 727 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ |
OLD | NEW |