| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_MANAGER_DELEGATE_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_MANAGER_DELEGATE_H_ |
| 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_MANAGER_DELEGATE_H_ | 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_MANAGER_DELEGATE_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/i18n/rtl.h" | 9 #include "base/i18n/rtl.h" |
| 10 #include "components/autofill/core/browser/autofill_manager_delegate.h" | 10 #include "components/autofill/core/browser/autofill_manager_delegate.h" |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 virtual PrefService* GetPrefs() OVERRIDE; | 23 virtual PrefService* GetPrefs() OVERRIDE; |
| 24 virtual void HideRequestAutocompleteDialog() OVERRIDE; | 24 virtual void HideRequestAutocompleteDialog() OVERRIDE; |
| 25 virtual void ShowAutofillSettings() OVERRIDE; | 25 virtual void ShowAutofillSettings() OVERRIDE; |
| 26 virtual void ConfirmSaveCreditCard( | 26 virtual void ConfirmSaveCreditCard( |
| 27 const AutofillMetrics& metric_logger, | 27 const AutofillMetrics& metric_logger, |
| 28 const CreditCard& credit_card, | 28 const CreditCard& credit_card, |
| 29 const base::Closure& save_card_callback) OVERRIDE; | 29 const base::Closure& save_card_callback) OVERRIDE; |
| 30 virtual void ShowRequestAutocompleteDialog( | 30 virtual void ShowRequestAutocompleteDialog( |
| 31 const FormData& form, | 31 const FormData& form, |
| 32 const GURL& source_url, | 32 const GURL& source_url, |
| 33 DialogType dialog_type, | |
| 34 const base::Callback<void(const FormStructure*, | 33 const base::Callback<void(const FormStructure*, |
| 35 const std::string&)>& callback) OVERRIDE; | 34 const std::string&)>& callback) OVERRIDE; |
| 36 virtual void ShowAutofillPopup( | 35 virtual void ShowAutofillPopup( |
| 37 const gfx::RectF& element_bounds, | 36 const gfx::RectF& element_bounds, |
| 38 base::i18n::TextDirection text_direction, | 37 base::i18n::TextDirection text_direction, |
| 39 const std::vector<base::string16>& values, | 38 const std::vector<base::string16>& values, |
| 40 const std::vector<base::string16>& labels, | 39 const std::vector<base::string16>& labels, |
| 41 const std::vector<base::string16>& icons, | 40 const std::vector<base::string16>& icons, |
| 42 const std::vector<int>& identifiers, | 41 const std::vector<int>& identifiers, |
| 43 base::WeakPtr<AutofillPopupDelegate> delegate) OVERRIDE; | 42 base::WeakPtr<AutofillPopupDelegate> delegate) OVERRIDE; |
| 44 virtual void UpdateAutofillPopupDataListValues( | 43 virtual void UpdateAutofillPopupDataListValues( |
| 45 const std::vector<base::string16>& values, | 44 const std::vector<base::string16>& values, |
| 46 const std::vector<base::string16>& labels) OVERRIDE; | 45 const std::vector<base::string16>& labels) OVERRIDE; |
| 47 virtual void HideAutofillPopup() OVERRIDE; | 46 virtual void HideAutofillPopup() OVERRIDE; |
| 48 virtual bool IsAutocompleteEnabled() OVERRIDE; | 47 virtual bool IsAutocompleteEnabled() OVERRIDE; |
| 49 | 48 |
| 50 private: | 49 private: |
| 51 DISALLOW_COPY_AND_ASSIGN(TestAutofillManagerDelegate); | 50 DISALLOW_COPY_AND_ASSIGN(TestAutofillManagerDelegate); |
| 52 }; | 51 }; |
| 53 | 52 |
| 54 } // namespace autofill | 53 } // namespace autofill |
| 55 | 54 |
| 56 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_MANAGER_DELEGATE_H_ | 55 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_MANAGER_DELEGATE_H_ |
| OLD | NEW |