OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_CLIENT_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_CLIENT_H_ |
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_CLIENT_H_ | 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_CLIENT_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 PrefService* GetPrefs() override; | 25 PrefService* GetPrefs() override; |
26 void HideRequestAutocompleteDialog() override; | 26 void HideRequestAutocompleteDialog() override; |
27 void ShowAutofillSettings() override; | 27 void ShowAutofillSettings() override; |
28 void ShowUnmaskPrompt(const CreditCard& card, | 28 void ShowUnmaskPrompt(const CreditCard& card, |
29 base::WeakPtr<CardUnmaskDelegate> delegate) override; | 29 base::WeakPtr<CardUnmaskDelegate> delegate) override; |
30 void OnUnmaskVerificationResult(bool success) override; | 30 void OnUnmaskVerificationResult(bool success) override; |
31 void ConfirmSaveCreditCard(const base::Closure& save_card_callback) override; | 31 void ConfirmSaveCreditCard(const base::Closure& save_card_callback) override; |
32 bool HasCreditCardScanFeature() override; | 32 bool HasCreditCardScanFeature() override; |
33 void ScanCreditCard(const CreditCardScanCallback& callback) override; | 33 void ScanCreditCard(const CreditCardScanCallback& callback) override; |
34 void ShowRequestAutocompleteDialog(const FormData& form, | 34 void ShowRequestAutocompleteDialog(const FormData& form, |
35 const GURL& source_url, | 35 content::RenderFrameHost* rfh, |
36 const ResultCallback& callback) override; | 36 const ResultCallback& callback) override; |
37 void ShowAutofillPopup( | 37 void ShowAutofillPopup( |
38 const gfx::RectF& element_bounds, | 38 const gfx::RectF& element_bounds, |
39 base::i18n::TextDirection text_direction, | 39 base::i18n::TextDirection text_direction, |
40 const std::vector<Suggestion>& suggestions, | 40 const std::vector<Suggestion>& suggestions, |
41 base::WeakPtr<AutofillPopupDelegate> delegate) override; | 41 base::WeakPtr<AutofillPopupDelegate> delegate) override; |
42 void UpdateAutofillPopupDataListValues( | 42 void UpdateAutofillPopupDataListValues( |
43 const std::vector<base::string16>& values, | 43 const std::vector<base::string16>& values, |
44 const std::vector<base::string16>& labels) override; | 44 const std::vector<base::string16>& labels) override; |
45 void HideAutofillPopup() override; | 45 void HideAutofillPopup() override; |
(...skipping 10 matching lines...) Expand all Loading... |
56 private: | 56 private: |
57 // NULL by default. | 57 // NULL by default. |
58 scoped_ptr<PrefService> prefs_; | 58 scoped_ptr<PrefService> prefs_; |
59 | 59 |
60 DISALLOW_COPY_AND_ASSIGN(TestAutofillClient); | 60 DISALLOW_COPY_AND_ASSIGN(TestAutofillClient); |
61 }; | 61 }; |
62 | 62 |
63 } // namespace autofill | 63 } // namespace autofill |
64 | 64 |
65 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_CLIENT_H_ | 65 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_CLIENT_H_ |
OLD | NEW |