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 void LegalDocumentLinkClicked(const gfx::Range& range) override; | 159 void LegalDocumentLinkClicked(const gfx::Range& range) override; |
160 bool OnCancel() override; | 160 bool OnCancel() override; |
161 bool OnAccept() override; | 161 bool OnAccept() override; |
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, |
| 170 size_t match_start) override; |
170 void DidAcceptSuggestion(const base::string16& value, | 171 void DidAcceptSuggestion(const base::string16& value, |
171 int identifier, | 172 int identifier, |
172 int position) override; | 173 int position) override; |
173 bool GetDeletionConfirmationText(const base::string16& value, | 174 bool GetDeletionConfirmationText(const base::string16& value, |
174 int identifier, | 175 int identifier, |
175 base::string16* title, | 176 base::string16* title, |
176 base::string16* body) override; | 177 base::string16* body) override; |
177 bool RemoveSuggestion(const base::string16& value, int identifier) override; | 178 bool RemoveSuggestion(const base::string16& value, int identifier) override; |
178 void ClearPreviewedForm() override; | 179 void ClearPreviewedForm() override; |
179 | 180 |
(...skipping 670 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
850 base::string16 submitted_cardholder_name_; | 851 base::string16 submitted_cardholder_name_; |
851 | 852 |
852 base::WeakPtrFactory<AutofillDialogControllerImpl> weak_ptr_factory_; | 853 base::WeakPtrFactory<AutofillDialogControllerImpl> weak_ptr_factory_; |
853 | 854 |
854 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl); | 855 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl); |
855 }; | 856 }; |
856 | 857 |
857 } // namespace autofill | 858 } // namespace autofill |
858 | 859 |
859 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ | 860 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ |
OLD | NEW |