Issue: 369376

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
This commit is contained in:
edburns%acm.org
2007-02-13 17:15:43 +00:00
parent 0ff3aca4a1
commit 6a43b0c2f6
4 changed files with 183 additions and 5 deletions

View File

@@ -67,6 +67,7 @@ REQUIRES = xpcom \
rdf \
bookmarks \
content \
commandhandler \
editor \
string \
embed_base \