| 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 b6d7cbc70d2a0036b8a16ee5bf19d76f58c94042..f348cf5954db2a4f7e0875e4ab03339dafadd779 100644
|
| --- a/components/autofill/content/browser/autofill_driver_impl.cc
|
| +++ b/components/autofill/content/browser/autofill_driver_impl.cc
|
| @@ -172,6 +172,15 @@ void AutofillDriverImpl::RendererShouldSetNodeText(
|
| host->Send(new AutofillMsg_SetNodeText(host->GetRoutingID(), value));
|
| }
|
|
|
| +void AutofillDriverImpl::RendererShouldPreviewAutoCompleteNode(
|
| + const base::string16& value) {
|
| + if (!RendererIsAvailable())
|
| + return;
|
| + content::RenderViewHost* host = web_contents()->GetRenderViewHost();
|
| + host->Send(new AutofillMsg_PreviewAutoCompleteNode(host->GetRoutingID(),
|
| + value));
|
| +}
|
| +
|
| bool AutofillDriverImpl::OnMessageReceived(const IPC::Message& message) {
|
| bool handled = true;
|
| IPC_BEGIN_MESSAGE_MAP(AutofillDriverImpl, message)
|
|
|