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