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

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

Issue 1931043002: Remove requestAutocomplete (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 7 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 void SetSaveFormData(bool enabled); 59 void SetSaveFormData(bool enabled);
60 bool GetSaveFormData(); 60 bool GetSaveFormData();
61 61
62 // AutofillClient: 62 // AutofillClient:
63 autofill::PersonalDataManager* GetPersonalDataManager() override; 63 autofill::PersonalDataManager* GetPersonalDataManager() override;
64 scoped_refptr<autofill::AutofillWebDataService> GetDatabase() override; 64 scoped_refptr<autofill::AutofillWebDataService> GetDatabase() override;
65 PrefService* GetPrefs() override; 65 PrefService* GetPrefs() override;
66 sync_driver::SyncService* GetSyncService() override; 66 sync_driver::SyncService* GetSyncService() override;
67 IdentityProvider* GetIdentityProvider() override; 67 IdentityProvider* GetIdentityProvider() override;
68 rappor::RapporService* GetRapporService() override; 68 rappor::RapporService* GetRapporService() override;
69 void HideRequestAutocompleteDialog() override;
70 void ShowAutofillSettings() override; 69 void ShowAutofillSettings() override;
71 void ShowUnmaskPrompt( 70 void ShowUnmaskPrompt(
72 const autofill::CreditCard& card, 71 const autofill::CreditCard& card,
73 UnmaskCardReason reason, 72 UnmaskCardReason reason,
74 base::WeakPtr<autofill::CardUnmaskDelegate> delegate) override; 73 base::WeakPtr<autofill::CardUnmaskDelegate> delegate) override;
75 void OnUnmaskVerificationResult(PaymentsRpcResult result) override; 74 void OnUnmaskVerificationResult(PaymentsRpcResult result) override;
76 void ConfirmSaveCreditCardLocally(const autofill::CreditCard& card, 75 void ConfirmSaveCreditCardLocally(const autofill::CreditCard& card,
77 const base::Closure& callback) override; 76 const base::Closure& callback) override;
78 void ConfirmSaveCreditCardToCloud( 77 void ConfirmSaveCreditCardToCloud(
79 const autofill::CreditCard& card, 78 const autofill::CreditCard& card,
80 std::unique_ptr<base::DictionaryValue> legal_message, 79 std::unique_ptr<base::DictionaryValue> legal_message,
81 const base::Closure& callback) override; 80 const base::Closure& callback) override;
82 void LoadRiskData( 81 void LoadRiskData(
83 const base::Callback<void(const std::string&)>& callback) override; 82 const base::Callback<void(const std::string&)>& callback) override;
84 bool HasCreditCardScanFeature() override; 83 bool HasCreditCardScanFeature() override;
85 void ScanCreditCard(const CreditCardScanCallback& callback) override; 84 void ScanCreditCard(const CreditCardScanCallback& callback) override;
86 void ShowRequestAutocompleteDialog(const autofill::FormData& form,
87 content::RenderFrameHost* rfh,
88 const ResultCallback& callback) override;
89 void ShowAutofillPopup( 85 void ShowAutofillPopup(
90 const gfx::RectF& element_bounds, 86 const gfx::RectF& element_bounds,
91 base::i18n::TextDirection text_direction, 87 base::i18n::TextDirection text_direction,
92 const std::vector<autofill::Suggestion>& suggestions, 88 const std::vector<autofill::Suggestion>& suggestions,
93 base::WeakPtr<autofill::AutofillPopupDelegate> delegate) override; 89 base::WeakPtr<autofill::AutofillPopupDelegate> delegate) override;
94 void UpdateAutofillPopupDataListValues( 90 void UpdateAutofillPopupDataListValues(
95 const std::vector<base::string16>& values, 91 const std::vector<base::string16>& values,
96 const std::vector<base::string16>& labels) override; 92 const std::vector<base::string16>& labels) override;
97 void HideAutofillPopup() override; 93 void HideAutofillPopup() override;
98 bool IsAutocompleteEnabled() override; 94 bool IsAutocompleteEnabled() override;
(...skipping 28 matching lines...) Expand all
127 base::WeakPtr<autofill::AutofillPopupDelegate> delegate_; 123 base::WeakPtr<autofill::AutofillPopupDelegate> delegate_;
128 124
129 DISALLOW_COPY_AND_ASSIGN(AwAutofillClient); 125 DISALLOW_COPY_AND_ASSIGN(AwAutofillClient);
130 }; 126 };
131 127
132 bool RegisterAwAutofillClient(JNIEnv* env); 128 bool RegisterAwAutofillClient(JNIEnv* env);
133 129
134 } // namespace android_webview 130 } // namespace android_webview
135 131
136 #endif // ANDROID_WEBVIEW_NATIVE_AW_AUTOFILL_CLIENT_H_ 132 #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