Chromium Code Reviews| Index: content/browser/android/content_view_core_impl.cc |
| diff --git a/content/browser/android/content_view_core_impl.cc b/content/browser/android/content_view_core_impl.cc |
| index 204145c773647024dade3629fe31daaf9bc4fbd1..cc61ac6e91daf0e3109318ef2b1bb05942209678 100644 |
| --- a/content/browser/android/content_view_core_impl.cc |
| +++ b/content/browser/android/content_view_core_impl.cc |
| @@ -1265,6 +1265,11 @@ void ContentViewCoreImpl::UpdateTopControlsState(JNIEnv* env, |
| animate)); |
| } |
| +void ContentViewCoreImpl::ShowTopControls(JNIEnv* env, jobject obj, bool show) { |
| + RenderViewHost* host = web_contents_->GetRenderViewHost(); |
| + host->Send(new ViewMsg_ShowTopControls(host->GetRoutingID(), show)); |
|
jam
2013/04/17 16:24:59
it's simpler to just do
web_contents_->Send(new F
Michael van Ouwerkerk
2013/04/18 18:11:38
Done.
|
| +} |
| + |
| void ContentViewCoreImpl::ShowImeIfNeeded(JNIEnv* env, jobject obj) { |
| RenderViewHost* host = web_contents_->GetRenderViewHost(); |
| host->Send(new ViewMsg_ShowImeIfNeeded(host->GetRoutingID())); |