Bug 842013 - Buffer IME key events and dispatch them at once; r=cpeterson

This commit is contained in:
Jim Chen
2013-03-29 10:54:01 -04:00
parent 59d280fc84
commit 8df7bdae47
6 changed files with 40 additions and 15 deletions

View File

@@ -517,6 +517,7 @@ AndroidGeckoEvent::Init(JNIEnv *jenv, jobject jobj)
break;
case KEY_EVENT:
case IME_KEY_EVENT:
mTime = jenv->GetLongField(jobj, jTimeField);
mMetaState = jenv->GetIntField(jobj, jMetaStateField);
mDomKeyLocation = jenv->GetIntField(jobj, jDomKeyLocationField);