Chromium Code Reviews| Index: content/browser/renderer_host/ime_adapter_android.cc |
| diff --git a/content/browser/renderer_host/ime_adapter_android.cc b/content/browser/renderer_host/ime_adapter_android.cc |
| index ac820f5765c3a7bf214293e8271e7bba7951f972..612dd2507fe66de0c3b9a772d2db33959407dc39 100644 |
| --- a/content/browser/renderer_host/ime_adapter_android.cc |
| +++ b/content/browser/renderer_host/ime_adapter_android.cc |
| @@ -299,6 +299,15 @@ void ImeAdapterAndroid::Paste(JNIEnv* env, jobject) { |
| wc->Paste(); |
| } |
| +void ImeAdapterAndroid::AdvanceFocusToNextFormControl(JNIEnv* env, |
| + jobject obj, |
| + jboolean forward) { |
|
Avi (use Gerrit)
2015/04/17 16:26:38
fix indentation
AKV
2015/04/17 16:40:37
Done. Sorry for it, recently I changed the name of
|
| + WebContents* web_contents = GetWebContents(); |
| + if (!web_contents) |
| + return; |
| + web_contents->AdvanceFocusToNextFormControl(forward); |
| +} |
| + |
| void ImeAdapterAndroid::ResetImeAdapter(JNIEnv* env, jobject) { |
| java_ime_adapter_.reset(); |
| } |