| 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/browser/aw_autofill_client.h" | 5 #include "android_webview/browser/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_contents.h" | 9 #include "android_webview/browser/aw_contents.h" |
| 10 #include "android_webview/browser/aw_form_database_service.h" | 10 #include "android_webview/browser/aw_form_database_service.h" |
| (...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 210 content::SSLStatus::RAN_INSECURE_CONTENT); | 210 content::SSLStatus::RAN_INSECURE_CONTENT); |
| 211 } | 211 } |
| 212 | 212 |
| 213 bool AwAutofillClient::ShouldShowSigninPromo() { | 213 bool AwAutofillClient::ShouldShowSigninPromo() { |
| 214 return false; | 214 return false; |
| 215 } | 215 } |
| 216 | 216 |
| 217 void AwAutofillClient::StartSigninFlow() {} | 217 void AwAutofillClient::StartSigninFlow() {} |
| 218 | 218 |
| 219 void AwAutofillClient::ShowHttpNotSecureExplanation() {} | 219 void AwAutofillClient::ShowHttpNotSecureExplanation() {} |
| 220 void AwAutofillClient::ShowPasswordsSettingsPage() {} |
| 220 | 221 |
| 221 void AwAutofillClient::Dismissed(JNIEnv* env, | 222 void AwAutofillClient::Dismissed(JNIEnv* env, |
| 222 const JavaParamRef<jobject>& obj) { | 223 const JavaParamRef<jobject>& obj) { |
| 223 anchor_view_.Reset(); | 224 anchor_view_.Reset(); |
| 224 } | 225 } |
| 225 | 226 |
| 226 void AwAutofillClient::SuggestionSelected(JNIEnv* env, | 227 void AwAutofillClient::SuggestionSelected(JNIEnv* env, |
| 227 const JavaParamRef<jobject>& object, | 228 const JavaParamRef<jobject>& object, |
| 228 jint position) { | 229 jint position) { |
| 229 if (delegate_) { | 230 if (delegate_) { |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 279 | 280 |
| 280 void AwAutofillClient::ScanCreditCard(const CreditCardScanCallback& callback) { | 281 void AwAutofillClient::ScanCreditCard(const CreditCardScanCallback& callback) { |
| 281 NOTIMPLEMENTED(); | 282 NOTIMPLEMENTED(); |
| 282 } | 283 } |
| 283 | 284 |
| 284 bool RegisterAwAutofillClient(JNIEnv* env) { | 285 bool RegisterAwAutofillClient(JNIEnv* env) { |
| 285 return RegisterNativesImpl(env); | 286 return RegisterNativesImpl(env); |
| 286 } | 287 } |
| 287 | 288 |
| 288 } // namespace android_webview | 289 } // namespace android_webview |
| OLD | NEW |