summaryrefslogtreecommitdiffstats
path: root/V8Binding/jni
Commit message (Collapse)AuthorAgeFilesLines
* Use NPAPI headers from WebCore/bridge/ rather than those from V8Bindings/npapi/.Steve Block2009-10-281-0/+3
| | | | | | | | The files in question are npapi.h and npruntime.h. The Android versions at V8Bindings/npapi/ are identical to the WebKit versions, other than a couple of trivial changes, which are accounted for in this patch. Change-Id: I998a5863181283aa6153c84a745b1923d9b5721b
* Continue with linker error fixes.Ben Murdoch2009-08-171-1/+1
|
* Fix first set of linker errors.Ben Murdoch2009-08-171-4/+4
|
* Convert Java string to JavaScript string.Feng Qian2009-07-154-5/+13
| | | | This allows JavaScript call a Java function and returns a string back to JavaScript. This patch is needed by the current Gmail app.
* Fix memory leaks in Java binding and some code cleanup.Feng Qian2009-05-068-43/+68
| | | | | | | | | | | | | | | WebCoreFrameBridge.cpp needs to release NPObject to get proper ref count because the way V8 binding works. JObjectWraper holds a weak reference to the Java object to break cycles. Also fix ScriptController::haveWindowShell to match KJS build, this should be upstreamed to Chrome project (I am going to do it). The binding does not use weak reference to hold Java objects, currently it does not create cycles between Java and JavaScript objects. I didn't see it is an issue here. A future work is to add logging/debugging code to make sure global Java references are dropped.
* Implement Java <-> JS bindings.Feng Qian2009-04-3010-206/+419
| | | | | | | | | | Implemented invoke Java methods and fecth Java fields from JavaScript. Java-side access native-JS objects is not supported. JavaScript-side modification of JS objects is not supported. The implementation uses NPAPI, which is simple, but less efficient. Java abstraction is very much copied from original WebCore/bridge/jni, except all JSC bindings are replaced by NPAPI.
* Add first round JNI bindings.Feng Qian2009-04-2910-0/+1637
Not compiling yet, and not enabled in the build script. Get it checked it, and will merge the branch back to master and work there.