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 CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ | 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ |
6 #define CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ | 6 #define CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 void ShowUnmaskPrompt(const CreditCard& card, | 51 void ShowUnmaskPrompt(const CreditCard& card, |
52 UnmaskCardReason reason, | 52 UnmaskCardReason reason, |
53 base::WeakPtr<CardUnmaskDelegate> delegate) override; | 53 base::WeakPtr<CardUnmaskDelegate> delegate) override; |
54 void OnUnmaskVerificationResult(PaymentsRpcResult result) override; | 54 void OnUnmaskVerificationResult(PaymentsRpcResult result) override; |
55 void ConfirmSaveCreditCardLocally(const CreditCard& card, | 55 void ConfirmSaveCreditCardLocally(const CreditCard& card, |
56 const base::Closure& callback) override; | 56 const base::Closure& callback) override; |
57 void ConfirmSaveCreditCardToCloud( | 57 void ConfirmSaveCreditCardToCloud( |
58 const CreditCard& card, | 58 const CreditCard& card, |
59 std::unique_ptr<base::DictionaryValue> legal_message, | 59 std::unique_ptr<base::DictionaryValue> legal_message, |
60 const base::Closure& callback) override; | 60 const base::Closure& callback) override; |
| 61 void ConfirmCreditCardFillAssist(const CreditCard& card, |
| 62 const base::Closure& callback) override; |
61 void LoadRiskData( | 63 void LoadRiskData( |
62 const base::Callback<void(const std::string&)>& callback) override; | 64 const base::Callback<void(const std::string&)>& callback) override; |
63 bool HasCreditCardScanFeature() override; | 65 bool HasCreditCardScanFeature() override; |
64 void ScanCreditCard(const CreditCardScanCallback& callback) override; | 66 void ScanCreditCard(const CreditCardScanCallback& callback) override; |
65 void ShowAutofillPopup( | 67 void ShowAutofillPopup( |
66 const gfx::RectF& element_bounds, | 68 const gfx::RectF& element_bounds, |
67 base::i18n::TextDirection text_direction, | 69 base::i18n::TextDirection text_direction, |
68 const std::vector<autofill::Suggestion>& suggestions, | 70 const std::vector<autofill::Suggestion>& suggestions, |
69 base::WeakPtr<AutofillPopupDelegate> delegate) override; | 71 base::WeakPtr<AutofillPopupDelegate> delegate) override; |
70 void UpdateAutofillPopupDataListValues( | 72 void UpdateAutofillPopupDataListValues( |
(...skipping 28 matching lines...) Expand all Loading... |
99 | 101 |
100 // The identity provider, used for Payments integration. | 102 // The identity provider, used for Payments integration. |
101 std::unique_ptr<IdentityProvider> identity_provider_; | 103 std::unique_ptr<IdentityProvider> identity_provider_; |
102 | 104 |
103 DISALLOW_COPY_AND_ASSIGN(ChromeAutofillClient); | 105 DISALLOW_COPY_AND_ASSIGN(ChromeAutofillClient); |
104 }; | 106 }; |
105 | 107 |
106 } // namespace autofill | 108 } // namespace autofill |
107 | 109 |
108 #endif // CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ | 110 #endif // CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ |
OLD | NEW |