| 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_TAB_AUTOFILL_MANAGER_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_TAB_AUTOFILL_MANAGER_DELEGATE_H_ |
| 6 #define CHROME_BROWSER_UI_AUTOFILL_TAB_AUTOFILL_MANAGER_DELEGATE_H_ | 6 #define CHROME_BROWSER_UI_AUTOFILL_TAB_AUTOFILL_MANAGER_DELEGATE_H_ |
| 7 | 7 |
| 8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/i18n/rtl.h" | 10 #include "base/i18n/rtl.h" |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 GetDatabase() OVERRIDE; | 42 GetDatabase() OVERRIDE; |
| 43 virtual PrefService* GetPrefs() OVERRIDE; | 43 virtual PrefService* GetPrefs() OVERRIDE; |
| 44 virtual void HideRequestAutocompleteDialog() OVERRIDE; | 44 virtual void HideRequestAutocompleteDialog() OVERRIDE; |
| 45 virtual void ShowAutofillSettings() OVERRIDE; | 45 virtual void ShowAutofillSettings() OVERRIDE; |
| 46 virtual void ConfirmSaveCreditCard( | 46 virtual void ConfirmSaveCreditCard( |
| 47 const AutofillMetrics& metric_logger, | 47 const AutofillMetrics& metric_logger, |
| 48 const base::Closure& save_card_callback) OVERRIDE; | 48 const base::Closure& save_card_callback) OVERRIDE; |
| 49 virtual void ShowRequestAutocompleteDialog( | 49 virtual void ShowRequestAutocompleteDialog( |
| 50 const FormData& form, | 50 const FormData& form, |
| 51 const GURL& source_url, | 51 const GURL& source_url, |
| 52 const base::Callback<void(const FormStructure*)>& callback) OVERRIDE; | 52 const ResultCallback& callback) OVERRIDE; |
| 53 virtual void ShowAutofillPopup( | 53 virtual void ShowAutofillPopup( |
| 54 const gfx::RectF& element_bounds, | 54 const gfx::RectF& element_bounds, |
| 55 base::i18n::TextDirection text_direction, | 55 base::i18n::TextDirection text_direction, |
| 56 const std::vector<base::string16>& values, | 56 const std::vector<base::string16>& values, |
| 57 const std::vector<base::string16>& labels, | 57 const std::vector<base::string16>& labels, |
| 58 const std::vector<base::string16>& icons, | 58 const std::vector<base::string16>& icons, |
| 59 const std::vector<int>& identifiers, | 59 const std::vector<int>& identifiers, |
| 60 base::WeakPtr<AutofillPopupDelegate> delegate) OVERRIDE; | 60 base::WeakPtr<AutofillPopupDelegate> delegate) OVERRIDE; |
| 61 virtual void UpdateAutofillPopupDataListValues( | 61 virtual void UpdateAutofillPopupDataListValues( |
| 62 const std::vector<base::string16>& values, | 62 const std::vector<base::string16>& values, |
| (...skipping 26 matching lines...) Expand all Loading... |
| 89 content::WebContents* const web_contents_; | 89 content::WebContents* const web_contents_; |
| 90 base::WeakPtr<AutofillDialogController> dialog_controller_; | 90 base::WeakPtr<AutofillDialogController> dialog_controller_; |
| 91 base::WeakPtr<AutofillPopupControllerImpl> popup_controller_; | 91 base::WeakPtr<AutofillPopupControllerImpl> popup_controller_; |
| 92 | 92 |
| 93 DISALLOW_COPY_AND_ASSIGN(TabAutofillManagerDelegate); | 93 DISALLOW_COPY_AND_ASSIGN(TabAutofillManagerDelegate); |
| 94 }; | 94 }; |
| 95 | 95 |
| 96 } // namespace autofill | 96 } // namespace autofill |
| 97 | 97 |
| 98 #endif // CHROME_BROWSER_UI_AUTOFILL_TAB_AUTOFILL_MANAGER_DELEGATE_H_ | 98 #endif // CHROME_BROWSER_UI_AUTOFILL_TAB_AUTOFILL_MANAGER_DELEGATE_H_ |
| OLD | NEW |