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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 Profile* profile() override; | 162 Profile* profile() override; |
163 content::WebContents* GetWebContents() override; | 163 content::WebContents* GetWebContents() override; |
164 | 164 |
165 // AutofillPopupDelegate implementation. | 165 // AutofillPopupDelegate implementation. |
166 void OnPopupShown() override; | 166 void OnPopupShown() override; |
167 void OnPopupHidden() override; | 167 void OnPopupHidden() override; |
168 void DidSelectSuggestion(const base::string16& value, | 168 void DidSelectSuggestion(const base::string16& value, |
169 int identifier) override; | 169 int identifier) override; |
170 void DidAcceptSuggestion(const base::string16& value, | 170 void DidAcceptSuggestion(const base::string16& value, |
171 int identifier) override; | 171 int identifier) override; |
| 172 bool GetDeletionConfirmationText(const base::string16& value, |
| 173 int identifier, |
| 174 base::string16* title, |
| 175 base::string16* body) override; |
172 bool RemoveSuggestion(const base::string16& value, int identifier) override; | 176 bool RemoveSuggestion(const base::string16& value, int identifier) override; |
173 void ClearPreviewedForm() override; | 177 void ClearPreviewedForm() override; |
174 | 178 |
175 // content::NotificationObserver implementation. | 179 // content::NotificationObserver implementation. |
176 void Observe(int type, | 180 void Observe(int type, |
177 const content::NotificationSource& source, | 181 const content::NotificationSource& source, |
178 const content::NotificationDetails& details) override; | 182 const content::NotificationDetails& details) override; |
179 | 183 |
180 // SuggestionsMenuModelDelegate implementation. | 184 // SuggestionsMenuModelDelegate implementation. |
181 void SuggestionItemSelected(SuggestionsMenuModel* model, | 185 void SuggestionItemSelected(SuggestionsMenuModel* model, |
(...skipping 663 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
845 base::string16 submitted_cardholder_name_; | 849 base::string16 submitted_cardholder_name_; |
846 | 850 |
847 base::WeakPtrFactory<AutofillDialogControllerImpl> weak_ptr_factory_; | 851 base::WeakPtrFactory<AutofillDialogControllerImpl> weak_ptr_factory_; |
848 | 852 |
849 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl); | 853 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl); |
850 }; | 854 }; |
851 | 855 |
852 } // namespace autofill | 856 } // namespace autofill |
853 | 857 |
854 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ | 858 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ |
OLD | NEW |