| Index: components/autofill/content/browser/autofill_driver_impl.cc
|
| diff --git a/components/autofill/content/browser/autofill_driver_impl.cc b/components/autofill/content/browser/autofill_driver_impl.cc
|
| index e56f94768cdc7fbb5be47789afe601732491eeb4..d8da58abb182a2fdecda021a19f6f170c77c2751 100644
|
| --- a/components/autofill/content/browser/autofill_driver_impl.cc
|
| +++ b/components/autofill/content/browser/autofill_driver_impl.cc
|
| @@ -133,13 +133,20 @@ void AutofillDriverImpl::SendAutofillTypePredictionsToRenderer(
|
| type_predictions));
|
| }
|
|
|
| -void AutofillDriverImpl::RendererShouldClearForm() {
|
| +void AutofillDriverImpl::RendererShouldClearFilledForm() {
|
| if (!RendererIsAvailable())
|
| return;
|
| content::RenderViewHost* host = web_contents()->GetRenderViewHost();
|
| host->Send(new AutofillMsg_ClearForm(host->GetRoutingID()));
|
| }
|
|
|
| +void AutofillDriverImpl::RendererShouldClearPreviewedForm() {
|
| + if (!RendererIsAvailable())
|
| + return;
|
| + content::RenderViewHost* host = web_contents()->GetRenderViewHost();
|
| + host->Send(new AutofillMsg_ClearPreviewedForm(host->GetRoutingID()));
|
| +}
|
| +
|
| bool AutofillDriverImpl::OnMessageReceived(const IPC::Message& message) {
|
| bool handled = true;
|
| IPC_BEGIN_MESSAGE_MAP(AutofillDriverImpl, message)
|
|
|