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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 virtual int GetDialogButtons() const OVERRIDE; | 130 virtual int GetDialogButtons() const OVERRIDE; |
131 virtual bool IsDialogButtonEnabled(ui::DialogButton button) const OVERRIDE; | 131 virtual bool IsDialogButtonEnabled(ui::DialogButton button) const OVERRIDE; |
132 virtual DialogOverlayState GetDialogOverlay() const OVERRIDE; | 132 virtual DialogOverlayState GetDialogOverlay() const OVERRIDE; |
133 virtual const std::vector<ui::Range>& LegalDocumentLinks() OVERRIDE; | 133 virtual const std::vector<ui::Range>& LegalDocumentLinks() OVERRIDE; |
134 virtual bool SectionIsActive(DialogSection section) const OVERRIDE; | 134 virtual bool SectionIsActive(DialogSection section) const OVERRIDE; |
135 virtual const DetailInputs& RequestedFieldsForSection(DialogSection section) | 135 virtual const DetailInputs& RequestedFieldsForSection(DialogSection section) |
136 const OVERRIDE; | 136 const OVERRIDE; |
137 virtual ui::ComboboxModel* ComboboxModelForAutofillType( | 137 virtual ui::ComboboxModel* ComboboxModelForAutofillType( |
138 AutofillFieldType type) OVERRIDE; | 138 AutofillFieldType type) OVERRIDE; |
139 virtual ui::MenuModel* MenuModelForSection(DialogSection section) OVERRIDE; | 139 virtual ui::MenuModel* MenuModelForSection(DialogSection section) OVERRIDE; |
140 #if defined(OS_ANDROID) | |
141 virtual ui::MenuModel* MenuModelForSectionHack(DialogSection section) | |
142 OVERRIDE; | |
143 #endif | |
144 virtual string16 LabelForSection(DialogSection section) const OVERRIDE; | 140 virtual string16 LabelForSection(DialogSection section) const OVERRIDE; |
145 virtual SuggestionState SuggestionStateForSection( | 141 virtual SuggestionState SuggestionStateForSection( |
146 DialogSection section) OVERRIDE; | 142 DialogSection section) OVERRIDE; |
147 virtual void EditClickedForSection(DialogSection section) OVERRIDE; | 143 virtual void EditClickedForSection(DialogSection section) OVERRIDE; |
148 virtual void EditCancelledForSection(DialogSection section) OVERRIDE; | 144 virtual void EditCancelledForSection(DialogSection section) OVERRIDE; |
149 virtual gfx::Image IconForField(AutofillFieldType type, | 145 virtual gfx::Image IconForField(AutofillFieldType type, |
150 const string16& user_input) const OVERRIDE; | 146 const string16& user_input) const OVERRIDE; |
151 virtual string16 InputValidityMessage(DialogSection section, | 147 virtual string16 InputValidityMessage(DialogSection section, |
152 AutofillFieldType type, | 148 AutofillFieldType type, |
153 const string16& value) OVERRIDE; | 149 const string16& value) OVERRIDE; |
(...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
716 // show a bubble as the dialog closes to confirm a user's new card info was | 712 // show a bubble as the dialog closes to confirm a user's new card info was |
717 // saved. Never populated while incognito (as nothing's actually saved). | 713 // saved. Never populated while incognito (as nothing's actually saved). |
718 scoped_ptr<CreditCard> newly_saved_card_; | 714 scoped_ptr<CreditCard> newly_saved_card_; |
719 | 715 |
720 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl); | 716 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl); |
721 }; | 717 }; |
722 | 718 |
723 } // namespace autofill | 719 } // namespace autofill |
724 | 720 |
725 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ | 721 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ |
OLD | NEW |