mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 16:46:26 +00:00
7573cd136f
the DocumentLoadListener events will be trivial. Next step: flesh out the rest of the DocumentLoadListener events. Modify NavigationTest so that it does its selection checking inside the listeners. This will probably require creating a Thread, managed by EventRegistrationImpl, that is used to process callbacks from mozilla into Java, so that we don't get deadlock. M classes_spec/org/mozilla/webclient/impl/wrapper_native/EventRegistrationImpl.java - remove all dependencies on NativeEventThread - introduce dependency on BrowserControlCanvas (needed for future MouseListener) work. - {add,remove}DocumentLoadListener() now just a matter of adding/removing to List. - add nativeEventOccurred() method, called from native code M classes_spec/org/mozilla/webclient/impl/wrapper_native/NativeEventThread.java - remove dependency on BrowserControlCanvas - removed nativeEventOccurred M src_moz/EmbedProgress.cpp - delete the global ref in the dtor. - create the global ref in SetEventRegistration(). - call back to Java on startDocumentLoad. M src_moz/NativeBrowserControl.cpp - initialize our string constants. M src_share/jni_util.cpp M src_share/jni_util.h - alter the signature of util_SendEventToJava -void util_SendEventToJava(JNIEnv *yourEnv, jobject nativeEventThread, - jobject webclientEventListener, +void util_SendEventToJava(JNIEnv *yourEnv, jobject eventRegistrationImpl, jstring eventListenerClassName, jlong eventType, jobject eventData) M test/automated/src/classes/org/mozilla/webclient/NavigationTest.java - show that the DocumentLoadListener gets called. |
||
---|---|---|
.. | ||
.cvsignore | ||
bal_util.cpp | ||
bal_util.h | ||
jni_util_export.cpp | ||
jni_util_export.h | ||
jni_util.cpp | ||
jni_util.h | ||
Makefile.in | ||
runem_commercial.pl | ||
runem_solaris | ||
runem.pl |