| 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 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 (!net::IsCertStatusError(ssl_status.cert_status) || | 202 (!net::IsCertStatusError(ssl_status.cert_status) || |
| 203 net::IsCertStatusMinorError(ssl_status.cert_status)) && | 203 net::IsCertStatusMinorError(ssl_status.cert_status)) && |
| 204 !(ssl_status.content_status & | 204 !(ssl_status.content_status & |
| 205 content::SSLStatus::RAN_INSECURE_CONTENT); | 205 content::SSLStatus::RAN_INSECURE_CONTENT); |
| 206 } | 206 } |
| 207 | 207 |
| 208 bool AwAutofillClient::ShouldShowSigninPromo() { | 208 bool AwAutofillClient::ShouldShowSigninPromo() { |
| 209 return false; | 209 return false; |
| 210 } | 210 } |
| 211 | 211 |
| 212 void AwAutofillClient::StartSigninFlow() {} | 212 void AwAutofillClient::ExecuteCommand(int id) { |
| 213 | 213 NOTIMPLEMENTED(); |
| 214 void AwAutofillClient::ShowHttpNotSecureExplanation() {} | 214 } |
| 215 | 215 |
| 216 bool AwAutofillClient::IsAutofillSupported() { | 216 bool AwAutofillClient::IsAutofillSupported() { |
| 217 return true; | 217 return true; |
| 218 } | 218 } |
| 219 | 219 |
| 220 void AwAutofillClient::Dismissed(JNIEnv* env, | 220 void AwAutofillClient::Dismissed(JNIEnv* env, |
| 221 const JavaParamRef<jobject>& obj) { | 221 const JavaParamRef<jobject>& obj) { |
| 222 anchor_view_.Reset(); | 222 anchor_view_.Reset(); |
| 223 } | 223 } |
| 224 | 224 |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 278 | 278 |
| 279 void AwAutofillClient::ScanCreditCard(const CreditCardScanCallback& callback) { | 279 void AwAutofillClient::ScanCreditCard(const CreditCardScanCallback& callback) { |
| 280 NOTIMPLEMENTED(); | 280 NOTIMPLEMENTED(); |
| 281 } | 281 } |
| 282 | 282 |
| 283 bool RegisterAwAutofillClient(JNIEnv* env) { | 283 bool RegisterAwAutofillClient(JNIEnv* env) { |
| 284 return RegisterNativesImpl(env); | 284 return RegisterNativesImpl(env); |
| 285 } | 285 } |
| 286 | 286 |
| 287 } // namespace android_webview | 287 } // namespace android_webview |
| OLD | NEW |