Chromium Code Reviews| Index: content/browser/frame_host/render_widget_host_view_child_frame.cc |
| diff --git a/content/browser/frame_host/render_widget_host_view_child_frame.cc b/content/browser/frame_host/render_widget_host_view_child_frame.cc |
| index 62bb821e9acf2f687cf4ab31fbd2a6102b3fdb3b..972b53bf2868ebaa0544de60802a35adfe775904 100644 |
| --- a/content/browser/frame_host/render_widget_host_view_child_frame.cc |
| +++ b/content/browser/frame_host/render_widget_host_view_child_frame.cc |
| @@ -51,6 +51,10 @@ RenderWidgetHostViewChildFrame::RenderWidgetHostViewChildFrame( |
| RegisterSurfaceNamespaceId(); |
| host_->SetView(this); |
| + |
| + // This is necessary when this view is the top-level view, which is the case |
| + // for inner WebContents. |
| + text_input_manager_ = GetTextInputManager(); |
|
EhsanK
2016/05/13 16:00:56
Actually, I am not sure if this is really necessar
|
| } |
| RenderWidgetHostViewChildFrame::~RenderWidgetHostViewChildFrame() { |
| @@ -260,11 +264,6 @@ void RenderWidgetHostViewChildFrame::SetIsLoading(bool is_loading) { |
| NOTREACHED(); |
| } |
| -void RenderWidgetHostViewChildFrame::TextInputStateChanged( |
| - const TextInputState& params) { |
| - // TODO(kenrb): Implement. |
| -} |
| - |
| void RenderWidgetHostViewChildFrame::RenderProcessGone( |
| base::TerminationStatus status, |
| int error_code) { |