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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 virtual string16 LegalDocumentsText() OVERRIDE; | 121 virtual string16 LegalDocumentsText() OVERRIDE; |
122 virtual DialogSignedInState SignedInState() const OVERRIDE; | 122 virtual DialogSignedInState SignedInState() const OVERRIDE; |
123 virtual bool ShouldShowSpinner() const OVERRIDE; | 123 virtual bool ShouldShowSpinner() const OVERRIDE; |
124 virtual bool ShouldOfferToSaveInChrome() const OVERRIDE; | 124 virtual bool ShouldOfferToSaveInChrome() const OVERRIDE; |
125 virtual ui::MenuModel* MenuModelForAccountChooser() OVERRIDE; | 125 virtual ui::MenuModel* MenuModelForAccountChooser() OVERRIDE; |
126 virtual gfx::Image AccountChooserImage() OVERRIDE; | 126 virtual gfx::Image AccountChooserImage() OVERRIDE; |
127 virtual bool ShouldShowDetailArea() const OVERRIDE; | 127 virtual bool ShouldShowDetailArea() const OVERRIDE; |
128 virtual bool ShouldShowProgressBar() const OVERRIDE; | 128 virtual bool ShouldShowProgressBar() const OVERRIDE; |
129 virtual int GetDialogButtons() const OVERRIDE; | 129 virtual int GetDialogButtons() const OVERRIDE; |
130 virtual bool IsDialogButtonEnabled(ui::DialogButton button) const OVERRIDE; | 130 virtual bool IsDialogButtonEnabled(ui::DialogButton button) const OVERRIDE; |
| 131 virtual DialogOverlayState GetDialogOverlay() const OVERRIDE; |
131 virtual const std::vector<ui::Range>& LegalDocumentLinks() OVERRIDE; | 132 virtual const std::vector<ui::Range>& LegalDocumentLinks() OVERRIDE; |
132 virtual bool SectionIsActive(DialogSection section) const OVERRIDE; | 133 virtual bool SectionIsActive(DialogSection section) const OVERRIDE; |
133 virtual const DetailInputs& RequestedFieldsForSection(DialogSection section) | 134 virtual const DetailInputs& RequestedFieldsForSection(DialogSection section) |
134 const OVERRIDE; | 135 const OVERRIDE; |
135 virtual ui::ComboboxModel* ComboboxModelForAutofillType( | 136 virtual ui::ComboboxModel* ComboboxModelForAutofillType( |
136 AutofillFieldType type) OVERRIDE; | 137 AutofillFieldType type) OVERRIDE; |
137 virtual ui::MenuModel* MenuModelForSection(DialogSection section) OVERRIDE; | 138 virtual ui::MenuModel* MenuModelForSection(DialogSection section) OVERRIDE; |
138 #if defined(OS_ANDROID) | 139 #if defined(OS_ANDROID) |
139 virtual ui::MenuModel* MenuModelForSectionHack(DialogSection section) | 140 virtual ui::MenuModel* MenuModelForSectionHack(DialogSection section) |
140 OVERRIDE; | 141 OVERRIDE; |
(...skipping 23 matching lines...) Expand all Loading... |
164 virtual void FocusMoved() OVERRIDE; | 165 virtual void FocusMoved() OVERRIDE; |
165 virtual gfx::Image SplashPageImage() const OVERRIDE; | 166 virtual gfx::Image SplashPageImage() const OVERRIDE; |
166 virtual void ViewClosed() OVERRIDE; | 167 virtual void ViewClosed() OVERRIDE; |
167 virtual std::vector<DialogNotification> CurrentNotifications() OVERRIDE; | 168 virtual std::vector<DialogNotification> CurrentNotifications() OVERRIDE; |
168 virtual std::vector<DialogAutocheckoutStep> CurrentAutocheckoutSteps() | 169 virtual std::vector<DialogAutocheckoutStep> CurrentAutocheckoutSteps() |
169 const OVERRIDE; | 170 const OVERRIDE; |
170 virtual void SignInLinkClicked() OVERRIDE; | 171 virtual void SignInLinkClicked() OVERRIDE; |
171 virtual void NotificationCheckboxStateChanged(DialogNotification::Type type, | 172 virtual void NotificationCheckboxStateChanged(DialogNotification::Type type, |
172 bool checked) OVERRIDE; | 173 bool checked) OVERRIDE; |
173 virtual void LegalDocumentLinkClicked(const ui::Range& range) OVERRIDE; | 174 virtual void LegalDocumentLinkClicked(const ui::Range& range) OVERRIDE; |
| 175 virtual void OverlayButtonPressed() OVERRIDE; |
174 virtual void OnCancel() OVERRIDE; | 176 virtual void OnCancel() OVERRIDE; |
175 virtual void OnAccept() OVERRIDE; | 177 virtual void OnAccept() OVERRIDE; |
176 virtual Profile* profile() OVERRIDE; | 178 virtual Profile* profile() OVERRIDE; |
177 virtual content::WebContents* web_contents() OVERRIDE; | 179 virtual content::WebContents* web_contents() OVERRIDE; |
178 | 180 |
179 // AutofillPopupDelegate implementation. | 181 // AutofillPopupDelegate implementation. |
180 virtual void OnPopupShown(content::KeyboardListener* listener) OVERRIDE; | 182 virtual void OnPopupShown(content::KeyboardListener* listener) OVERRIDE; |
181 virtual void OnPopupHidden(content::KeyboardListener* listener) OVERRIDE; | 183 virtual void OnPopupHidden(content::KeyboardListener* listener) OVERRIDE; |
182 virtual void DidSelectSuggestion(int identifier) OVERRIDE; | 184 virtual void DidSelectSuggestion(int identifier) OVERRIDE; |
183 virtual void DidAcceptSuggestion(const string16& value, | 185 virtual void DidAcceptSuggestion(const string16& value, |
(...skipping 521 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
705 // State of steps in the current Autocheckout flow, or empty if not an | 707 // State of steps in the current Autocheckout flow, or empty if not an |
706 // Autocheckout use case. | 708 // Autocheckout use case. |
707 std::vector<DialogAutocheckoutStep> steps_; | 709 std::vector<DialogAutocheckoutStep> steps_; |
708 | 710 |
709 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl); | 711 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl); |
710 }; | 712 }; |
711 | 713 |
712 } // namespace autofill | 714 } // namespace autofill |
713 | 715 |
714 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ | 716 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ |
OLD | NEW |