Bug 393646 - Support reading image data off the clipboard on Mac r=josh,bienvenu sr=roc a=mconnor/drivers

git-svn-id: svn://10.0.0.236/trunk@236108 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
cbarrett%mozilla.com
2007-09-17 18:02:50 +00:00
parent 57d54c6a03
commit d09fac68be
3 changed files with 91 additions and 22 deletions

View File

@@ -1118,10 +1118,8 @@ NS_IMETHODIMP nsHTMLEditor::PrepareHTMLTransferable(nsITransferable **aTransfera
}
(*aTransferable)->AddDataFlavor(kHTMLMime);
(*aTransferable)->AddDataFlavor(kFileMime);
#ifdef XP_WIN32
// image pasting from the clipboard is only implemented on Windows right now.
// image pasting from the clipboard is only implemented on Windows & Mac right now.
(*aTransferable)->AddDataFlavor(kJPEGImageMime);
#endif
}
(*aTransferable)->AddDataFlavor(kUnicodeMime);
}