Use the nsIClipboardDragDropHooks mechanism to manually copy over data from the nsITransferable to java, so that java can manualy fabricate a Transferable instance and put it on the clipboard. M src_moz/CurrentPageImpl.cpp - Pass the java instance to EmbedWindow::CopySelection(). M src_moz/EmbedWindow.cpp M src_moz/EmbedWindow.h - Modify CopySelection to take the java object instance - Make this implement nsIClipboardDragDropHooks. Use the nsICommandManager to get informed of the copy event. - Implement ::OnCopyOrDrag() to copy the data from the nsITransferable over to Java. M src_moz/Makefile.in - declare dependency on commandhandler git-svn-id: svn://10.0.0.236/trunk@220060 18797224-902f-48f8-a5cc-f745e15eee43
25 KiB
25 KiB