Chromium Code Reviews| Index: content/browser/web_contents/web_contents_impl.cc |
| diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc |
| index 21ca407b9e5bebb5128702dd2890e1842d230244..0e080f64d9411ac0fd3d987dcd3e26c1c7824424 100644 |
| --- a/content/browser/web_contents/web_contents_impl.cc |
| +++ b/content/browser/web_contents/web_contents_impl.cc |
| @@ -2476,6 +2476,17 @@ TextInputManager* WebContentsImpl::GetTextInputManager() { |
| return text_input_manager_.get(); |
| } |
| +void WebContentsImpl::OnUpdateTextInputState( |
| + RenderWidgetHostImpl* render_widget_host, |
| + ui::TextInputType type, |
| + const std::string& text, |
| + const std::string& placeholder, |
| + bool show_ime_if_needed) { |
| + if (delegate_) |
|
nyquist
2016/10/05 04:20:56
Nit:
if (!delegate_)
return;
[empty line]
delega
|
| + delegate_->OnUpdateTextInputState(render_widget_host, type, text, |
| + placeholder, show_ime_if_needed); |
| +} |
| + |
| BrowserAccessibilityManager* |
| WebContentsImpl::GetRootBrowserAccessibilityManager() { |
| RenderFrameHostImpl* rfh = GetMainFrame(); |