| 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 | 96 |
| 97 // AutofillDialogViewDelegate implementation. | 97 // AutofillDialogViewDelegate implementation. |
| 98 virtual string16 DialogTitle() const OVERRIDE; | 98 virtual string16 DialogTitle() const OVERRIDE; |
| 99 virtual string16 AccountChooserText() const OVERRIDE; | 99 virtual string16 AccountChooserText() const OVERRIDE; |
| 100 virtual string16 SignInLinkText() const OVERRIDE; | 100 virtual string16 SignInLinkText() const OVERRIDE; |
| 101 virtual string16 SpinnerText() const OVERRIDE; | 101 virtual string16 SpinnerText() const OVERRIDE; |
| 102 virtual string16 EditSuggestionText() const OVERRIDE; | 102 virtual string16 EditSuggestionText() const OVERRIDE; |
| 103 virtual string16 CancelButtonText() const OVERRIDE; | 103 virtual string16 CancelButtonText() const OVERRIDE; |
| 104 virtual string16 ConfirmButtonText() const OVERRIDE; | 104 virtual string16 ConfirmButtonText() const OVERRIDE; |
| 105 virtual string16 SaveLocallyText() const OVERRIDE; | 105 virtual string16 SaveLocallyText() const OVERRIDE; |
| 106 virtual string16 SaveLocallyTooltip() const OVERRIDE; | 106 virtual string16 SaveLocallyLearnMoreText() const OVERRIDE; |
| 107 virtual string16 LegalDocumentsText() OVERRIDE; | 107 virtual string16 LegalDocumentsText() OVERRIDE; |
| 108 virtual bool ShouldDisableSignInLink() const OVERRIDE; | 108 virtual bool ShouldDisableSignInLink() const OVERRIDE; |
| 109 virtual bool ShouldShowSpinner() const OVERRIDE; | 109 virtual bool ShouldShowSpinner() const OVERRIDE; |
| 110 virtual bool ShouldShowSignInWebView() const OVERRIDE; | 110 virtual bool ShouldShowSignInWebView() const OVERRIDE; |
| 111 virtual GURL SignInUrl() const OVERRIDE; | 111 virtual GURL SignInUrl() const OVERRIDE; |
| 112 virtual bool ShouldOfferToSaveInChrome() const OVERRIDE; | 112 virtual bool ShouldOfferToSaveInChrome() const OVERRIDE; |
| 113 virtual bool ShouldSaveInChrome() const OVERRIDE; | 113 virtual bool ShouldSaveInChrome() const OVERRIDE; |
| 114 virtual ui::MenuModel* MenuModelForAccountChooser() OVERRIDE; | 114 virtual ui::MenuModel* MenuModelForAccountChooser() OVERRIDE; |
| 115 virtual gfx::Image AccountChooserImage() OVERRIDE; | 115 virtual gfx::Image AccountChooserImage() OVERRIDE; |
| 116 virtual gfx::Image ButtonStripImage() const OVERRIDE; | 116 virtual gfx::Image ButtonStripImage() const OVERRIDE; |
| 117 virtual int GetDialogButtons() const OVERRIDE; | 117 virtual int GetDialogButtons() const OVERRIDE; |
| 118 virtual bool IsDialogButtonEnabled(ui::DialogButton button) const OVERRIDE; | 118 virtual bool IsDialogButtonEnabled(ui::DialogButton button) const OVERRIDE; |
| 119 virtual DialogOverlayState GetDialogOverlay() OVERRIDE; | 119 virtual DialogOverlayState GetDialogOverlay() OVERRIDE; |
| 120 virtual const std::vector<gfx::Range>& LegalDocumentLinks() OVERRIDE; | 120 virtual const std::vector<gfx::Range>& LegalDocumentLinks() OVERRIDE; |
| 121 virtual bool SectionIsActive(DialogSection section) const OVERRIDE; | 121 virtual bool SectionIsActive(DialogSection section) const OVERRIDE; |
| 122 virtual const DetailInputs& RequestedFieldsForSection(DialogSection section) | 122 virtual const DetailInputs& RequestedFieldsForSection(DialogSection section) |
| 123 const OVERRIDE; | 123 const OVERRIDE; |
| 124 virtual ui::ComboboxModel* ComboboxModelForAutofillType( | 124 virtual ui::ComboboxModel* ComboboxModelForAutofillType( |
| 125 ServerFieldType type) OVERRIDE; | 125 ServerFieldType type) OVERRIDE; |
| 126 virtual ui::MenuModel* MenuModelForSection(DialogSection section) OVERRIDE; | 126 virtual ui::MenuModel* MenuModelForSection(DialogSection section) OVERRIDE; |
| 127 virtual string16 LabelForSection(DialogSection section) const OVERRIDE; | 127 virtual string16 LabelForSection(DialogSection section) const OVERRIDE; |
| 128 virtual SuggestionState SuggestionStateForSection( | 128 virtual SuggestionState SuggestionStateForSection( |
| 129 DialogSection section) OVERRIDE; | 129 DialogSection section) OVERRIDE; |
| 130 virtual FieldIconMap IconsForFields(const FieldValueMap& user_inputs) | 130 virtual FieldIconMap IconsForFields(const FieldValueMap& user_inputs) |
| 131 const OVERRIDE; | 131 const OVERRIDE; |
| 132 virtual bool FieldControlsIcons(ServerFieldType type) const OVERRIDE; | 132 virtual bool FieldControlsIcons(ServerFieldType type) const OVERRIDE; |
| 133 virtual string16 TooltipForField(ServerFieldType type) const OVERRIDE; | 133 virtual string16 LearnMoreTextForField(ServerFieldType type) const OVERRIDE; |
| 134 virtual bool InputIsEditable(const DetailInput& input, DialogSection section) | 134 virtual bool InputIsEditable(const DetailInput& input, DialogSection section) |
| 135 OVERRIDE; | 135 OVERRIDE; |
| 136 virtual string16 InputValidityMessage(DialogSection section, | 136 virtual string16 InputValidityMessage(DialogSection section, |
| 137 ServerFieldType type, | 137 ServerFieldType type, |
| 138 const string16& value) OVERRIDE; | 138 const string16& value) OVERRIDE; |
| 139 virtual ValidityMessages InputsAreValid( | 139 virtual ValidityMessages InputsAreValid( |
| 140 DialogSection section, const DetailOutputMap& inputs) OVERRIDE; | 140 DialogSection section, const DetailOutputMap& inputs) OVERRIDE; |
| 141 virtual void UserEditedOrActivatedInput(DialogSection section, | 141 virtual void UserEditedOrActivatedInput(DialogSection section, |
| 142 const DetailInput* input, | 142 const DetailInput* input, |
| 143 gfx::NativeView parent_view, | 143 gfx::NativeView parent_view, |
| (...skipping 615 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 759 | 759 |
| 760 // A username string we display in the card scrambling/generated overlay. | 760 // A username string we display in the card scrambling/generated overlay. |
| 761 base::string16 submitted_cardholder_name_; | 761 base::string16 submitted_cardholder_name_; |
| 762 | 762 |
| 763 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl); | 763 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl); |
| 764 }; | 764 }; |
| 765 | 765 |
| 766 } // namespace autofill | 766 } // namespace autofill |
| 767 | 767 |
| 768 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ | 768 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ |
| OLD | NEW |