| 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 "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 GetDatabase() OVERRIDE; | 25 GetDatabase() OVERRIDE; |
| 26 virtual PrefService* GetPrefs() OVERRIDE; | 26 virtual PrefService* GetPrefs() OVERRIDE; |
| 27 virtual void HideRequestAutocompleteDialog() OVERRIDE; | 27 virtual void HideRequestAutocompleteDialog() OVERRIDE; |
| 28 virtual void ShowAutofillSettings() OVERRIDE; | 28 virtual void ShowAutofillSettings() OVERRIDE; |
| 29 virtual void ConfirmSaveCreditCard( | 29 virtual void ConfirmSaveCreditCard( |
| 30 const AutofillMetrics& metric_logger, | 30 const AutofillMetrics& metric_logger, |
| 31 const base::Closure& save_card_callback) OVERRIDE; | 31 const base::Closure& save_card_callback) OVERRIDE; |
| 32 virtual void ShowRequestAutocompleteDialog( | 32 virtual void ShowRequestAutocompleteDialog( |
| 33 const FormData& form, | 33 const FormData& form, |
| 34 const GURL& source_url, | 34 const GURL& source_url, |
| 35 const base::Callback<void(const FormStructure*)>& callback) OVERRIDE; | 35 const ResultCallback& callback) OVERRIDE; |
| 36 virtual void ShowAutofillPopup( | 36 virtual void ShowAutofillPopup( |
| 37 const gfx::RectF& element_bounds, | 37 const gfx::RectF& element_bounds, |
| 38 base::i18n::TextDirection text_direction, | 38 base::i18n::TextDirection text_direction, |
| 39 const std::vector<base::string16>& values, | 39 const std::vector<base::string16>& values, |
| 40 const std::vector<base::string16>& labels, | 40 const std::vector<base::string16>& labels, |
| 41 const std::vector<base::string16>& icons, | 41 const std::vector<base::string16>& icons, |
| 42 const std::vector<int>& identifiers, | 42 const std::vector<int>& identifiers, |
| 43 base::WeakPtr<AutofillPopupDelegate> delegate) OVERRIDE; | 43 base::WeakPtr<AutofillPopupDelegate> delegate) OVERRIDE; |
| 44 virtual void UpdateAutofillPopupDataListValues( | 44 virtual void UpdateAutofillPopupDataListValues( |
| 45 const std::vector<base::string16>& values, | 45 const std::vector<base::string16>& values, |
| (...skipping 13 matching lines...) Expand all Loading... |
| 59 private: | 59 private: |
| 60 // NULL by default. | 60 // NULL by default. |
| 61 scoped_ptr<PrefService> prefs_; | 61 scoped_ptr<PrefService> prefs_; |
| 62 | 62 |
| 63 DISALLOW_COPY_AND_ASSIGN(TestAutofillManagerDelegate); | 63 DISALLOW_COPY_AND_ASSIGN(TestAutofillManagerDelegate); |
| 64 }; | 64 }; |
| 65 | 65 |
| 66 } // namespace autofill | 66 } // namespace autofill |
| 67 | 67 |
| 68 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_MANAGER_DELEGATE_H_ | 68 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_MANAGER_DELEGATE_H_ |
| OLD | NEW |