Chromium Code Reviews| Index: content/browser/renderer_host/render_widget_host_impl.cc |
| diff --git a/content/browser/renderer_host/render_widget_host_impl.cc b/content/browser/renderer_host/render_widget_host_impl.cc |
| index 0ce169540b3cae2c0e67d865f585d0d48d8763a3..9f0ba4cea9ebb0407f8144bbb1ab8b8b92280393 100644 |
| --- a/content/browser/renderer_host/render_widget_host_impl.cc |
| +++ b/content/browser/renderer_host/render_widget_host_impl.cc |
| @@ -66,6 +66,7 @@ |
| #include "content/public/browser/storage_partition.h" |
| #include "content/public/common/content_constants.h" |
| #include "content/public/common/content_switches.h" |
| +#include "content/public/common/form_field_data.h" |
| #include "content/public/common/result_codes.h" |
| #include "content/public/common/web_preferences.h" |
| #include "gpu/GLES2/gl2extchromium.h" |
| @@ -496,6 +497,8 @@ bool RenderWidgetHostImpl::OnMessageReceived(const IPC::Message &msg) { |
| IPC_MESSAGE_HANDLER(ViewHostMsg_ForwardCompositorProto, |
| OnForwardCompositorProto) |
| IPC_MESSAGE_HANDLER(ViewHostMsg_SetNeedsBeginFrames, OnSetNeedsBeginFrames) |
| + IPC_MESSAGE_HANDLER(ViewHostMsg_SetFocusedFormFieldData, |
| + OnFocusedFormFieldDataReply) |
|
David Trainor- moved to gerrit
2016/11/03 04:25:49
Make this method name match the message name?
shaktisahu
2016/11/08 01:43:03
Done.
|
| IPC_MESSAGE_UNHANDLED(handled = false) |
| IPC_END_MESSAGE_MAP() |
| @@ -1348,6 +1351,13 @@ void RenderWidgetHostImpl::OnSetNeedsBeginFrames(bool needs_begin_frames) { |
| view_->SetNeedsBeginFrames(needs_begin_frames); |
| } |
| +void RenderWidgetHostImpl::OnFocusedFormFieldDataReply( |
| + int request_id, |
| + const FormFieldData& field_data) { |
| + if (view_) |
| + view_->OnFocusedFormFieldDataReply(request_id, field_data); |
| +} |
| + |
| void RenderWidgetHostImpl::RendererExited(base::TerminationStatus status, |
| int exit_code) { |
| if (!renderer_initialized_) |