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 #include "android_webview/native/aw_autofill_client.h" | 5 #include "android_webview/native/aw_autofill_client.h" |
6 | 6 |
7 #include "android_webview/browser/aw_browser_context.h" | 7 #include "android_webview/browser/aw_browser_context.h" |
8 #include "android_webview/browser/aw_content_browser_client.h" | 8 #include "android_webview/browser/aw_content_browser_client.h" |
9 #include "android_webview/browser/aw_form_database_service.h" | 9 #include "android_webview/browser/aw_form_database_service.h" |
10 #include "android_webview/browser/aw_pref_store.h" | 10 #include "android_webview/browser/aw_pref_store.h" |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 if (obj.is_null()) | 153 if (obj.is_null()) |
154 return; | 154 return; |
155 delegate_.reset(); | 155 delegate_.reset(); |
156 Java_AwAutofillClient_hideAutofillPopup(env, obj.obj()); | 156 Java_AwAutofillClient_hideAutofillPopup(env, obj.obj()); |
157 } | 157 } |
158 | 158 |
159 bool AwAutofillClient::IsAutocompleteEnabled() { | 159 bool AwAutofillClient::IsAutocompleteEnabled() { |
160 return GetSaveFormData(); | 160 return GetSaveFormData(); |
161 } | 161 } |
162 | 162 |
163 void AwAutofillClient::DetectAccountCreationForms( | 163 void AwAutofillClient::PropagateAutofillPredictions( |
164 content::RenderFrameHost* rfh, | 164 content::RenderFrameHost* rfh, |
165 const std::vector<autofill::FormStructure*>& forms) { | 165 const std::vector<autofill::FormStructure*>& forms) { |
166 | 166 |
167 } | 167 } |
168 | 168 |
169 void AwAutofillClient::DidFillOrPreviewField( | 169 void AwAutofillClient::DidFillOrPreviewField( |
170 const base::string16& autofilled_value, | 170 const base::string16& autofilled_value, |
171 const base::string16& profile_full_name) { | 171 const base::string16& profile_full_name) { |
172 } | 172 } |
173 | 173 |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 content::RenderFrameHost* rfh, | 225 content::RenderFrameHost* rfh, |
226 const ResultCallback& callback) { | 226 const ResultCallback& callback) { |
227 NOTIMPLEMENTED(); | 227 NOTIMPLEMENTED(); |
228 } | 228 } |
229 | 229 |
230 bool RegisterAwAutofillClient(JNIEnv* env) { | 230 bool RegisterAwAutofillClient(JNIEnv* env) { |
231 return RegisterNativesImpl(env); | 231 return RegisterNativesImpl(env); |
232 } | 232 } |
233 | 233 |
234 } // namespace android_webview | 234 } // namespace android_webview |
OLD | NEW |