| 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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 virtual string16 ConfirmButtonText() const OVERRIDE; | 120 virtual string16 ConfirmButtonText() const OVERRIDE; |
| 121 virtual string16 SaveLocallyText() const OVERRIDE; | 121 virtual string16 SaveLocallyText() const OVERRIDE; |
| 122 virtual string16 LegalDocumentsText() OVERRIDE; | 122 virtual string16 LegalDocumentsText() OVERRIDE; |
| 123 virtual DialogSignedInState SignedInState() const OVERRIDE; | 123 virtual DialogSignedInState SignedInState() const OVERRIDE; |
| 124 virtual bool ShouldShowSpinner() const OVERRIDE; | 124 virtual bool ShouldShowSpinner() const OVERRIDE; |
| 125 virtual bool ShouldOfferToSaveInChrome() const OVERRIDE; | 125 virtual bool ShouldOfferToSaveInChrome() const OVERRIDE; |
| 126 virtual ui::MenuModel* MenuModelForAccountChooser() OVERRIDE; | 126 virtual ui::MenuModel* MenuModelForAccountChooser() OVERRIDE; |
| 127 virtual gfx::Image AccountChooserImage() OVERRIDE; | 127 virtual gfx::Image AccountChooserImage() OVERRIDE; |
| 128 virtual bool ShouldShowDetailArea() const OVERRIDE; | 128 virtual bool ShouldShowDetailArea() const OVERRIDE; |
| 129 virtual bool ShouldShowProgressBar() const OVERRIDE; | 129 virtual bool ShouldShowProgressBar() const OVERRIDE; |
| 130 virtual gfx::Image ButtonStripImage() const OVERRIDE; |
| 130 virtual int GetDialogButtons() const OVERRIDE; | 131 virtual int GetDialogButtons() const OVERRIDE; |
| 131 virtual bool IsDialogButtonEnabled(ui::DialogButton button) const OVERRIDE; | 132 virtual bool IsDialogButtonEnabled(ui::DialogButton button) const OVERRIDE; |
| 132 virtual DialogOverlayState GetDialogOverlay() const OVERRIDE; | 133 virtual DialogOverlayState GetDialogOverlay() const OVERRIDE; |
| 133 virtual const std::vector<ui::Range>& LegalDocumentLinks() OVERRIDE; | 134 virtual const std::vector<ui::Range>& LegalDocumentLinks() OVERRIDE; |
| 134 virtual bool SectionIsActive(DialogSection section) const OVERRIDE; | 135 virtual bool SectionIsActive(DialogSection section) const OVERRIDE; |
| 135 virtual const DetailInputs& RequestedFieldsForSection(DialogSection section) | 136 virtual const DetailInputs& RequestedFieldsForSection(DialogSection section) |
| 136 const OVERRIDE; | 137 const OVERRIDE; |
| 137 virtual ui::ComboboxModel* ComboboxModelForAutofillType( | 138 virtual ui::ComboboxModel* ComboboxModelForAutofillType( |
| 138 AutofillFieldType type) OVERRIDE; | 139 AutofillFieldType type) OVERRIDE; |
| 139 virtual ui::MenuModel* MenuModelForSection(DialogSection section) OVERRIDE; | 140 virtual ui::MenuModel* MenuModelForSection(DialogSection section) OVERRIDE; |
| (...skipping 576 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 | 717 // 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). | 718 // saved. Never populated while incognito (as nothing's actually saved). |
| 718 scoped_ptr<CreditCard> newly_saved_card_; | 719 scoped_ptr<CreditCard> newly_saved_card_; |
| 719 | 720 |
| 720 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl); | 721 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl); |
| 721 }; | 722 }; |
| 722 | 723 |
| 723 } // namespace autofill | 724 } // namespace autofill |
| 724 | 725 |
| 725 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ | 726 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ |
| OLD | NEW |