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

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

Issue 756333003: Prompt for unmasking Wallet credit card on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix AW Created 6 years 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 <vector> 9 #include <vector>
10 10
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 void SetSaveFormData(bool enabled); 54 void SetSaveFormData(bool enabled);
55 bool GetSaveFormData(); 55 bool GetSaveFormData();
56 56
57 // AutofillClient: 57 // AutofillClient:
58 virtual autofill::PersonalDataManager* GetPersonalDataManager() override; 58 virtual autofill::PersonalDataManager* GetPersonalDataManager() override;
59 virtual scoped_refptr<autofill::AutofillWebDataService> GetDatabase() 59 virtual scoped_refptr<autofill::AutofillWebDataService> GetDatabase()
60 override; 60 override;
61 virtual PrefService* GetPrefs() override; 61 virtual PrefService* GetPrefs() override;
62 virtual void HideRequestAutocompleteDialog() override; 62 virtual void HideRequestAutocompleteDialog() override;
63 virtual void ShowAutofillSettings() override; 63 virtual void ShowAutofillSettings() override;
64 virtual void ShowUnmaskPrompt() override;
64 virtual void ConfirmSaveCreditCard( 65 virtual void ConfirmSaveCreditCard(
65 const autofill::AutofillMetrics& metric_logger, 66 const autofill::AutofillMetrics& metric_logger,
66 const base::Closure& save_card_callback) override; 67 const base::Closure& save_card_callback) override;
67 virtual bool HasCreditCardScanFeature() override; 68 virtual bool HasCreditCardScanFeature() override;
68 virtual void ScanCreditCard(const CreditCardScanCallback& callback) override; 69 virtual void ScanCreditCard(const CreditCardScanCallback& callback) override;
69 virtual void ShowRequestAutocompleteDialog( 70 virtual void ShowRequestAutocompleteDialog(
70 const autofill::FormData& form, 71 const autofill::FormData& form,
71 const GURL& source_url, 72 const GURL& source_url,
72 const ResultCallback& callback) override; 73 const ResultCallback& callback) override;
73 virtual void ShowAutofillPopup( 74 virtual void ShowAutofillPopup(
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 base::WeakPtr<autofill::AutofillPopupDelegate> delegate_; 115 base::WeakPtr<autofill::AutofillPopupDelegate> delegate_;
115 116
116 DISALLOW_COPY_AND_ASSIGN(AwAutofillClient); 117 DISALLOW_COPY_AND_ASSIGN(AwAutofillClient);
117 }; 118 };
118 119
119 bool RegisterAwAutofillClient(JNIEnv* env); 120 bool RegisterAwAutofillClient(JNIEnv* env);
120 121
121 } // namespace android_webview 122 } // namespace android_webview
122 123
123 #endif // ANDROID_WEBVIEW_NATIVE_AW_AUTOFILL_CLIENT_H_ 124 #endif // ANDROID_WEBVIEW_NATIVE_AW_AUTOFILL_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698