-
enrica@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=121464 Reviewed by Darin Adler. Source/WebCore: This method was only implemented in WebEditorClient.mm for Mac where it was calling a private delegate that is no longer in use. This patch removes it for all the platforms. I've also removed setTypes and writeAfterSettingTypes from the implementation of the Pasteboard class for Mac. * editing/mac/EditorMac.mm: (WebCore::Editor::writeSelectionToPasteboard): Now calls write instead of setTypes and writeAfterSettingTypes. * loader/EmptyClients.h: Removed didSetSelectionTypesForPasteboard. * page/EditorClient.h: Ditto. * platform/Pasteboard.h: Removed setTypes and writeAfterSettingTypes. * platform/ios/PasteboardIOS.mm: (WebCore::Pasteboard::writeSelection): Removed call to didSetSelectionTypesForPasteboard. * platform/mac/PasteboardMac.mm: (WebCore::Pasteboard::write): Added to replace setTypes and writeAfterSettingTypes. Source/WebKit/efl: * WebCoreSupport/EditorClientEfl.cpp: * WebCoreSupport/EditorClientEfl.h: Source/WebKit/gtk: * WebCoreSupport/EditorClientGtk.cpp: * WebCoreSupport/EditorClientGtk.h: Source/WebKit/mac: This method was only implemented in WebEditorClient.mm for Mac where it was calling a private delegate that is no longer in use. * DefaultDelegates/WebDefaultEditingDelegate.m: * WebCoreSupport/WebEditorClient.h: * WebCoreSupport/WebEditorClient.mm: * WebView/WebEditingDelegatePrivate.h: Source/WebKit/qt: * WebCoreSupport/EditorClientQt.cpp: * WebCoreSupport/EditorClientQt.h: Source/WebKit/win: * WebCoreSupport/WebEditorClient.cpp: * WebCoreSupport/WebEditorClient.h: Source/WebKit/wince: * WebCoreSupport/EditorClientWinCE.cpp: * WebCoreSupport/EditorClientWinCE.h: Source/WebKit2: * WebProcess/WebCoreSupport/WebEditorClient.cpp: * WebProcess/WebCoreSupport/WebEditorClient.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155971 268f45cc-cd09-0410-ab3c-d52691b4dbfc
70fbd1e2