[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677

rjw rjw at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 08:39:30 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 71b1ec00dd38bd486d1585ef94783d2ba99f64f7
Author: rjw <rjw at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Thu May 13 23:39:06 2004 +0000

    Added WebJavaPlugIn.h, fixed build problem.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@6589 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKit/Plugins.subproj/WebJavaPlugIn.h b/WebKit/Plugins.subproj/WebJavaPlugIn.h
new file mode 100644
index 0000000..b2f87b2
--- /dev/null
+++ b/WebKit/Plugins.subproj/WebJavaPlugIn.h
@@ -0,0 +1,38 @@
+/*
+    WebJavaPlugIn.h
+    Copyright 2004, Apple, Inc. All rights reserved.
+    
+    Public header file.
+*/
+
+#import <JavaVM/jni.h>
+
+/*!
+    The Java plug-in adds the following additional methods to facilitate JNI
+    access to Java VM via the plug-in.
+*/
+
+ at interface NSObject <WebJavaPlugIn>
+
+/*!
+	@method webPlugInGetApplet
+	@discusssion This returns the jobject representing the java applet to the
+	WebPlugInContainer.  It should always be called from the AppKit Main Thread.
+	This method is only implemented by the Java plug-in.
+*/
+- (jobject)webPlugInGetApplet;
+
+/*!
+	@method webPlugInCallJava:withMethod:withArgs:
+	@param object The Java instance that will receive the method call.
+	@param args The arguments to use with the method invocation.
+	@discussion Calls in the Java from native code should not make direct
+	use of JNI.  Instead they should use this method to dispatch call to the 
+	Java VM.  This is required to guarantee that the correct thread will receive
+	the call.  webPlugInCallJava:withMethod:withArgs: must always be called from
+	the AppKit main thread.  This method is only implemented by the Java plug-in.
+    @result The result of the method invocation.
+*/
+- (jvalue)webPlugInCallJava:(jobject)object withMethod:(jmethodID) withArgs:(jvalue*)args;
+
+ at end

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list