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

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

Issue 1540423004: Add card details and legal message to Android save credit card infobar. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: components/autofill review. Created 4 years, 11 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
« no previous file with comments | « no previous file | android_webview/native/aw_autofill_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <vector> 9 #include <vector>
10 10
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 scoped_refptr<autofill::AutofillWebDataService> GetDatabase() override; 60 scoped_refptr<autofill::AutofillWebDataService> GetDatabase() override;
61 PrefService* GetPrefs() override; 61 PrefService* GetPrefs() override;
62 IdentityProvider* GetIdentityProvider() override; 62 IdentityProvider* GetIdentityProvider() override;
63 rappor::RapporService* GetRapporService() override; 63 rappor::RapporService* GetRapporService() override;
64 void HideRequestAutocompleteDialog() override; 64 void HideRequestAutocompleteDialog() override;
65 void ShowAutofillSettings() override; 65 void ShowAutofillSettings() override;
66 void ShowUnmaskPrompt( 66 void ShowUnmaskPrompt(
67 const autofill::CreditCard& card, 67 const autofill::CreditCard& card,
68 base::WeakPtr<autofill::CardUnmaskDelegate> delegate) override; 68 base::WeakPtr<autofill::CardUnmaskDelegate> delegate) override;
69 void OnUnmaskVerificationResult(PaymentsRpcResult result) override; 69 void OnUnmaskVerificationResult(PaymentsRpcResult result) override;
70 void ConfirmSaveCreditCardLocally(const base::Closure& callback) override; 70 void ConfirmSaveCreditCardLocally(const autofill::CreditCard& card,
71 const base::Closure& callback) override;
71 void ConfirmSaveCreditCardToCloud( 72 void ConfirmSaveCreditCardToCloud(
72 const base::Closure& callback, 73 const autofill::CreditCard& card,
73 scoped_ptr<base::DictionaryValue> legal_message) override; 74 scoped_ptr<base::DictionaryValue> legal_message,
75 const base::Closure& callback) override;
74 void LoadRiskData( 76 void LoadRiskData(
75 const base::Callback<void(const std::string&)>& callback) override; 77 const base::Callback<void(const std::string&)>& callback) override;
76 bool HasCreditCardScanFeature() override; 78 bool HasCreditCardScanFeature() override;
77 void ScanCreditCard(const CreditCardScanCallback& callback) override; 79 void ScanCreditCard(const CreditCardScanCallback& callback) override;
78 void ShowRequestAutocompleteDialog(const autofill::FormData& form, 80 void ShowRequestAutocompleteDialog(const autofill::FormData& form,
79 content::RenderFrameHost* rfh, 81 content::RenderFrameHost* rfh,
80 const ResultCallback& callback) override; 82 const ResultCallback& callback) override;
81 void ShowAutofillPopup( 83 void ShowAutofillPopup(
82 const gfx::RectF& element_bounds, 84 const gfx::RectF& element_bounds,
83 base::i18n::TextDirection text_direction, 85 base::i18n::TextDirection text_direction,
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 base::WeakPtr<autofill::AutofillPopupDelegate> delegate_; 121 base::WeakPtr<autofill::AutofillPopupDelegate> delegate_;
120 122
121 DISALLOW_COPY_AND_ASSIGN(AwAutofillClient); 123 DISALLOW_COPY_AND_ASSIGN(AwAutofillClient);
122 }; 124 };
123 125
124 bool RegisterAwAutofillClient(JNIEnv* env); 126 bool RegisterAwAutofillClient(JNIEnv* env);
125 127
126 } // namespace android_webview 128 } // namespace android_webview
127 129
128 #endif // ANDROID_WEBVIEW_NATIVE_AW_AUTOFILL_CLIENT_H_ 130 #endif // ANDROID_WEBVIEW_NATIVE_AW_AUTOFILL_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | android_webview/native/aw_autofill_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698