Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Side by Side Diff: android_webview/native/aw_autofill_client.h

Issue 2789843004: [Payments] Upload card UI now has a CVC prompt (Closed)
Patch Set: Attempt to fix memory leak Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 ANDROID_WEBVIEW_NATIVE_AW_AUTOFILL_CLIENT_H_ 5 #ifndef ANDROID_WEBVIEW_NATIVE_AW_AUTOFILL_CLIENT_H_
6 #define ANDROID_WEBVIEW_NATIVE_AW_AUTOFILL_CLIENT_H_ 6 #define ANDROID_WEBVIEW_NATIVE_AW_AUTOFILL_CLIENT_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 void ShowUnmaskPrompt( 71 void ShowUnmaskPrompt(
72 const autofill::CreditCard& card, 72 const autofill::CreditCard& card,
73 UnmaskCardReason reason, 73 UnmaskCardReason reason,
74 base::WeakPtr<autofill::CardUnmaskDelegate> delegate) override; 74 base::WeakPtr<autofill::CardUnmaskDelegate> delegate) override;
75 void OnUnmaskVerificationResult(PaymentsRpcResult result) override; 75 void OnUnmaskVerificationResult(PaymentsRpcResult result) override;
76 void ConfirmSaveCreditCardLocally(const autofill::CreditCard& card, 76 void ConfirmSaveCreditCardLocally(const autofill::CreditCard& card,
77 const base::Closure& callback) override; 77 const base::Closure& callback) override;
78 void ConfirmSaveCreditCardToCloud( 78 void ConfirmSaveCreditCardToCloud(
79 const autofill::CreditCard& card, 79 const autofill::CreditCard& card,
80 std::unique_ptr<base::DictionaryValue> legal_message, 80 std::unique_ptr<base::DictionaryValue> legal_message,
81 bool should_cvc_be_requested,
81 const base::Closure& callback) override; 82 const base::Closure& callback) override;
82 void ConfirmCreditCardFillAssist(const autofill::CreditCard& card, 83 void ConfirmCreditCardFillAssist(const autofill::CreditCard& card,
83 const base::Closure& callback) override; 84 const base::Closure& callback) override;
84 void LoadRiskData( 85 void LoadRiskData(
85 const base::Callback<void(const std::string&)>& callback) override; 86 const base::Callback<void(const std::string&)>& callback) override;
86 bool HasCreditCardScanFeature() override; 87 bool HasCreditCardScanFeature() override;
87 void ScanCreditCard(const CreditCardScanCallback& callback) override; 88 void ScanCreditCard(const CreditCardScanCallback& callback) override;
88 void ShowAutofillPopup( 89 void ShowAutofillPopup(
89 const gfx::RectF& element_bounds, 90 const gfx::RectF& element_bounds,
90 base::i18n::TextDirection text_direction, 91 base::i18n::TextDirection text_direction,
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 base::WeakPtr<autofill::AutofillPopupDelegate> delegate_; 134 base::WeakPtr<autofill::AutofillPopupDelegate> delegate_;
134 135
135 DISALLOW_COPY_AND_ASSIGN(AwAutofillClient); 136 DISALLOW_COPY_AND_ASSIGN(AwAutofillClient);
136 }; 137 };
137 138
138 bool RegisterAwAutofillClient(JNIEnv* env); 139 bool RegisterAwAutofillClient(JNIEnv* env);
139 140
140 } // namespace android_webview 141 } // namespace android_webview
141 142
142 #endif // ANDROID_WEBVIEW_NATIVE_AW_AUTOFILL_CLIENT_H_ 143 #endif // ANDROID_WEBVIEW_NATIVE_AW_AUTOFILL_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698