Fixed: <rdar://problem/3802039> 8A259: Can't use Grab services to grab selection...
authorcblu <cblu@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 11 Oct 2004 17:20:44 +0000 (17:20 +0000)
committercblu <cblu@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 11 Oct 2004 17:20:44 +0000 (17:20 +0000)
commit818d9d8faab53b53f07f6ef6fab91af3e1a95317
tree494aaab76e8567b32636750315fe5d0468f12f06
parent0d61202ba0dfef797d9c3a7055a911291dfa5800
Fixed: <rdar://problem/3802039> 8A259: Can't use Grab services to grab selection from screen

        Reviewed by john.

        * WebView.subproj/WebHTMLView.m:
        (+[WebHTMLView initialize]): register service "return types" which are types that can be inserted into a WebView
        (-[WebHTMLView writeSelectionToPasteboard:types:]): service protocol method, be sure to only write specified types
        (-[WebHTMLView readSelectionFromPasteboard:]): new, service protocol method, insert types
        (-[WebHTMLView validRequestorForSendType:returnType:]): moved, handle return types

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@7816 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKit/ChangeLog
WebKit/WebView.subproj/WebHTMLView.m