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

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

Issue 2505533002: Http Bad: Add "Learn more" sublabel to warning message and make it clickable (Closed)
Patch Set: rebase Created 4 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 #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/native/aw_contents.h" 10 #include "android_webview/native/aw_contents.h"
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 !(ssl_status.content_status & 203 !(ssl_status.content_status &
204 content::SSLStatus::RAN_INSECURE_CONTENT); 204 content::SSLStatus::RAN_INSECURE_CONTENT);
205 } 205 }
206 206
207 bool AwAutofillClient::ShouldShowSigninPromo() { 207 bool AwAutofillClient::ShouldShowSigninPromo() {
208 return false; 208 return false;
209 } 209 }
210 210
211 void AwAutofillClient::StartSigninFlow() {} 211 void AwAutofillClient::StartSigninFlow() {}
212 212
213 void AwAutofillClient::ShowHttpNotSecureExplanation() {}
214
213 void AwAutofillClient::Dismissed(JNIEnv* env, 215 void AwAutofillClient::Dismissed(JNIEnv* env,
214 const JavaParamRef<jobject>& obj) { 216 const JavaParamRef<jobject>& obj) {
215 anchor_view_.Reset(); 217 anchor_view_.Reset();
216 } 218 }
217 219
218 void AwAutofillClient::SuggestionSelected(JNIEnv* env, 220 void AwAutofillClient::SuggestionSelected(JNIEnv* env,
219 const JavaParamRef<jobject>& object, 221 const JavaParamRef<jobject>& object,
220 jint position) { 222 jint position) {
221 if (delegate_) { 223 if (delegate_) {
222 delegate_->DidAcceptSuggestion(suggestions_[position].value, 224 delegate_->DidAcceptSuggestion(suggestions_[position].value,
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 272
271 void AwAutofillClient::ScanCreditCard(const CreditCardScanCallback& callback) { 273 void AwAutofillClient::ScanCreditCard(const CreditCardScanCallback& callback) {
272 NOTIMPLEMENTED(); 274 NOTIMPLEMENTED();
273 } 275 }
274 276
275 bool RegisterAwAutofillClient(JNIEnv* env) { 277 bool RegisterAwAutofillClient(JNIEnv* env) {
276 return RegisterNativesImpl(env); 278 return RegisterNativesImpl(env);
277 } 279 }
278 280
279 } // namespace android_webview 281 } // namespace android_webview
OLDNEW
« no previous file with comments | « android_webview/native/aw_autofill_client.h ('k') | chrome/browser/ui/autofill/autofill_popup_controller_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698