| Index: components/autofill/ios/browser/autofill_driver_ios.mm
|
| diff --git a/components/autofill/ios/browser/autofill_driver_ios.mm b/components/autofill/ios/browser/autofill_driver_ios.mm
|
| index f867cd6518273412a92dc18b8069f8352245159c..08384ae36adb7b475c728b2fb077cb62dfd294eb 100644
|
| --- a/components/autofill/ios/browser/autofill_driver_ios.mm
|
| +++ b/components/autofill/ios/browser/autofill_driver_ios.mm
|
| @@ -6,6 +6,7 @@
|
|
|
| #include "components/autofill/ios/browser/autofill_driver_ios_bridge.h"
|
| #include "ios/web/public/browser_state.h"
|
| +#import "ios/web/public/origin_util.h"
|
| #include "ios/web/public/web_state/web_state.h"
|
| #include "ios/web/public/web_thread.h"
|
| #include "ui/gfx/geometry/rect_f.h"
|
| @@ -82,7 +83,10 @@ void AutofillDriverIOS::RendererShouldAcceptDataListSuggestion(
|
| const base::string16& value) {
|
| }
|
|
|
| -void AutofillDriverIOS::DidInteractWithCreditCardForm() {}
|
| +void AutofillDriverIOS::DidInteractWithCreditCardForm() {
|
| + if (!web::IsOriginSecure(web_state_->GetLastCommittedURL()))
|
| + web_state_->OnCreditCardInputShownOnHttp();
|
| +}
|
|
|
| void AutofillDriverIOS::RendererShouldClearFilledForm() {
|
| }
|
|
|