| 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 359a2dd25aefde25f425b4aed213a83126e8a58e..6190519108bc4026500302108eebae0570695b1c 100644
|
| --- a/components/autofill/content/browser/autofill_driver_impl.cc
|
| +++ b/components/autofill/content/browser/autofill_driver_impl.cc
|
| @@ -164,12 +164,21 @@ void AutofillDriverImpl::RendererShouldClearPreviewedForm() {
|
| host->Send(new AutofillMsg_ClearPreviewedForm(host->GetRoutingID()));
|
| }
|
|
|
| -void AutofillDriverImpl::RendererShouldSetNodeText(
|
| +void AutofillDriverImpl::RendererShouldFillFieldWithValue(
|
| const base::string16& value) {
|
| if (!RendererIsAvailable())
|
| return;
|
| content::RenderViewHost* host = web_contents()->GetRenderViewHost();
|
| - host->Send(new AutofillMsg_SetNodeText(host->GetRoutingID(), value));
|
| + host->Send(new AutofillMsg_FillFieldWithValue(host->GetRoutingID(), value));
|
| +}
|
| +
|
| +void AutofillDriverImpl::RendererShouldPreviewFieldWithValue(
|
| + const base::string16& value) {
|
| + if (!RendererIsAvailable())
|
| + return;
|
| + content::RenderViewHost* host = web_contents()->GetRenderViewHost();
|
| + host->Send(new AutofillMsg_PreviewFieldWithValue(host->GetRoutingID(),
|
| + value));
|
| }
|
|
|
| bool AutofillDriverImpl::OnMessageReceived(const IPC::Message& message) {
|
|
|