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 void RemoveSuggestion(const base::string16& value, int identifier) override; | 172 bool RemoveSuggestion(const base::string16& value, int identifier) override; |
173 void ClearPreviewedForm() override; | 173 void ClearPreviewedForm() override; |
174 | 174 |
175 // content::NotificationObserver implementation. | 175 // content::NotificationObserver implementation. |
176 void Observe(int type, | 176 void Observe(int type, |
177 const content::NotificationSource& source, | 177 const content::NotificationSource& source, |
178 const content::NotificationDetails& details) override; | 178 const content::NotificationDetails& details) override; |
179 | 179 |
180 // SuggestionsMenuModelDelegate implementation. | 180 // SuggestionsMenuModelDelegate implementation. |
181 void SuggestionItemSelected(SuggestionsMenuModel* model, | 181 void SuggestionItemSelected(SuggestionsMenuModel* model, |
182 size_t index) override; | 182 size_t index) override; |
(...skipping 662 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
845 base::string16 submitted_cardholder_name_; | 845 base::string16 submitted_cardholder_name_; |
846 | 846 |
847 base::WeakPtrFactory<AutofillDialogControllerImpl> weak_ptr_factory_; | 847 base::WeakPtrFactory<AutofillDialogControllerImpl> weak_ptr_factory_; |
848 | 848 |
849 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl); | 849 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl); |
850 }; | 850 }; |
851 | 851 |
852 } // namespace autofill | 852 } // namespace autofill |
853 | 853 |
854 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ | 854 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ |
OLD | NEW |