Updated fix for <rdar://problem/8093680> "Paste and Match Style" should fire paste...
authoradele@apple.com <adele@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 24 Jun 2010 22:49:41 +0000 (22:49 +0000)
committeradele@apple.com <adele@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 24 Jun 2010 22:49:41 +0000 (22:49 +0000)
commit72841aa0b5e9c007e924c3e0d70a17b36bf80875
tree98e268261d3fadca7fee057da53604694bc7fe9c
parent3b38eacc44e05922c41175d82ffc8e79c27386f4
Updated fix for <rdar://problem/8093680> "Paste and Match Style" should fire paste events
https://bugs.webkit.org/show_bug.cgi?id=41085

Reviewed by Sam Weinig.

WebCore:

Covered by existing tests.

* editing/EditorCommand.cpp:
(WebCore::executePasteAsPlainText): Added.
(WebCore::createCommandMap): Added pasteAsPlainText command.

WebKit/mac:

* WebView/WebHTMLView.mm: Use the WebCore command system for the pasteAsPlainText selector.
Also remove internal methods that no one is using.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@61794 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/editing/EditorCommand.cpp
WebKit/mac/ChangeLog
WebKit/mac/WebView/WebHTMLView.mm