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 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 virtual bool OnCancel() OVERRIDE; | 159 virtual bool OnCancel() OVERRIDE; |
160 virtual bool OnAccept() OVERRIDE; | 160 virtual bool OnAccept() OVERRIDE; |
161 virtual Profile* profile() OVERRIDE; | 161 virtual Profile* profile() OVERRIDE; |
162 virtual content::WebContents* GetWebContents() OVERRIDE; | 162 virtual content::WebContents* GetWebContents() OVERRIDE; |
163 | 163 |
164 // AutofillPopupDelegate implementation. | 164 // AutofillPopupDelegate implementation. |
165 virtual void OnPopupShown() OVERRIDE; | 165 virtual void OnPopupShown() OVERRIDE; |
166 virtual void OnPopupHidden() OVERRIDE; | 166 virtual void OnPopupHidden() OVERRIDE; |
167 virtual bool ShouldRepostEvent(const ui::MouseEvent& event) OVERRIDE; | 167 virtual bool ShouldRepostEvent(const ui::MouseEvent& event) OVERRIDE; |
168 virtual void DidSelectSuggestion(int identifier) OVERRIDE; | 168 virtual void DidSelectSuggestion(int identifier) OVERRIDE; |
| 169 virtual void |
| 170 DidSelectAutocompleteSuggestion(const base::string16& value) OVERRIDE; |
169 virtual void DidAcceptSuggestion(const base::string16& value, | 171 virtual void DidAcceptSuggestion(const base::string16& value, |
170 int identifier) OVERRIDE; | 172 int identifier) OVERRIDE; |
171 virtual void RemoveSuggestion(const base::string16& value, | 173 virtual void RemoveSuggestion(const base::string16& value, |
172 int identifier) OVERRIDE; | 174 int identifier) OVERRIDE; |
173 virtual void ClearPreviewedForm() OVERRIDE; | 175 virtual void ClearPreviewedForm() OVERRIDE; |
| 176 virtual void ClearAutocompletePreviewedField() OVERRIDE; |
174 | 177 |
175 // content::NotificationObserver implementation. | 178 // content::NotificationObserver implementation. |
176 virtual void Observe(int type, | 179 virtual void Observe(int type, |
177 const content::NotificationSource& source, | 180 const content::NotificationSource& source, |
178 const content::NotificationDetails& details) OVERRIDE; | 181 const content::NotificationDetails& details) OVERRIDE; |
179 | 182 |
180 // SuggestionsMenuModelDelegate implementation. | 183 // SuggestionsMenuModelDelegate implementation. |
181 virtual void SuggestionsMenuWillShow() OVERRIDE; | 184 virtual void SuggestionsMenuWillShow() OVERRIDE; |
182 virtual void SuggestionItemSelected(SuggestionsMenuModel* model, | 185 virtual void SuggestionItemSelected(SuggestionsMenuModel* model, |
183 size_t index) OVERRIDE; | 186 size_t index) OVERRIDE; |
(...skipping 589 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
773 | 776 |
774 // A username string we display in the card scrambling/generated overlay. | 777 // A username string we display in the card scrambling/generated overlay. |
775 base::string16 submitted_cardholder_name_; | 778 base::string16 submitted_cardholder_name_; |
776 | 779 |
777 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl); | 780 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl); |
778 }; | 781 }; |
779 | 782 |
780 } // namespace autofill | 783 } // namespace autofill |
781 | 784 |
782 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ | 785 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ |
OLD | NEW |