{"action":"created","comment":{"url":"https://api.github.com/repos/WebKitForWayland/webkit/pulls/comments/48009490","id":48009490,"diff_hunk":"@@ -28,6 +28,7 @@\n \n #include <wtf/Forward.h>\n #include <wtf/RefCounted.h>\n+#include <wtf/RefPtr.h>","path":"Source/WebCore/platform/PlatformPasteboard.h","position":4,"original_position":4,"commit_id":"14724d03c595aec1d41cd8d5e2df5e6c5e64c05a","original_commit_id":"14724d03c595aec1d41cd8d5e2df5e6c5e64c05a","user":{"login":"csaavedra","id":2523171,"avatar_url":"https://avatars.githubusercontent.com/u/2523171?v=3","gravatar_id":"","url":"https://api.github.com/users/csaavedra","html_url":"https://github.com/csaavedra","followers_url":"https://api.github.com/users/csaavedra/followers","following_url":"https://api.github.com/users/csaavedra/following{/other_user}","gists_url":"https://api.github.com/users/csaavedra/gists{/gist_id}","starred_url":"https://api.github.com/users/csaavedra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csaavedra/subscriptions","organizations_url":"https://api.github.com/users/csaavedra/orgs","repos_url":"https://api.github.com/users/csaavedra/repos","events_url":"https://api.github.com/users/csaavedra/events{/privacy}","received_events_url":"https://api.github.com/users/csaavedra/received_events","type":"User","site_admin":false},"body":"Indeed, leftover. Fixed.","created_at":"2015-12-18T09:48:33Z","updated_at":"2015-12-18T09:48:33Z","html_url":"https://github.com/WebKitForWayland/webkit/pull/14#discussion_r48009490","pull_request_url":"https://api.github.com/repos/WebKitForWayland/webkit/pulls/14","_links":{"self":{"href":"https://api.github.com/repos/WebKitForWayland/webkit/pulls/comments/48009490"},"html":{"href":"https://github.com/WebKitForWayland/webkit/pull/14#discussion_r48009490"},"pull_request":{"href":"https://api.github.com/repos/WebKitForWayland/webkit/pulls/14"}}},"pull_request":{"url":"https://api.github.com/repos/WebKitForWayland/webkit/pulls/14","id":52955576,"html_url":"https://github.com/WebKitForWayland/webkit/pull/14","diff_url":"https://github.com/WebKitForWayland/webkit/pull/14.diff","patch_url":"https://github.com/WebKitForWayland/webkit/pull/14.patch","issue_url":"https://api.github.com/repos/WebKitForWayland/webkit/issues/14","number":14,"state":"open","locked":false,"title":"Pasteboard","user":{"login":"csaavedra","id":2523171,"avatar_url":"https://avatars.githubusercontent.com/u/2523171?v=3","gravatar_id":"","url":"https://api.github.com/users/csaavedra","html_url":"https://github.com/csaavedra","followers_url":"https://api.github.com/users/csaavedra/followers","following_url":"https://api.github.com/users/csaavedra/following{/other_user}","gists_url":"https://api.github.com/users/csaavedra/gists{/gist_id}","starred_url":"https://api.github.com/users/csaavedra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csaavedra/subscriptions","organizations_url":"https://api.github.com/users/csaavedra/orgs","repos_url":"https://api.github.com/users/csaavedra/repos","events_url":"https://api.github.com/users/csaavedra/events{/privacy}","received_events_url":"https://api.github.com/users/csaavedra/received_events","type":"User","site_admin":false},"body":"This is the basic implementation of the pasteboard for both Wayland and non-Wayland backends. WPE provides two Pasteboards: a Wayland-based using the data device manager interface to offer and receive data from and to Wayland clients and a private one that only works inside the WebKit client.\r\n\r\nThe WPE pasteboard lives in the UI-process (because of the UI-process being the actual Wayland client) and the WebCore pasteboard, in the web process, communicates with it using a Platform strategy. This platform strategy uses a web pasteboard proxy to be able to communicate with libwpe in the UI process.\r\n\r\nAt this point, cut/copy/paste for plain text in input fields works. More complex data types will need further work.","created_at":"2015-12-08T09:19:14Z","updated_at":"2015-12-18T09:48:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d3202fada777e97b1d84c98a91d9c648f396edf9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/WebKitForWayland/webkit/pulls/14/commits","review_comments_url":"https://api.github.com/repos/WebKitForWayland/webkit/pulls/14/comments","review_comment_url":"https://api.github.com/repos/WebKitForWayland/webkit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/WebKitForWayland/webkit/issues/14/comments","statuses_url":"https://api.github.com/repos/WebKitForWayland/webkit/statuses/14724d03c595aec1d41cd8d5e2df5e6c5e64c05a","head":{"label":"WebKitForWayland:pasteboard","ref":"pasteboard","sha":"14724d03c595aec1d41cd8d5e2df5e6c5e64c05a","user":{"login":"WebKitForWayland","id":10116105,"avatar_url":"https://avatars.githubusercontent.com/u/10116105?v=3","gravatar_id":"","url":"https://api.github.com/users/WebKitForWayland","html_url":"https://github.com/WebKitForWayland","followers_url":"https://api.github.com/users/WebKitForWayland/followers","following_url":"https://api.github.com/users/WebKitForWayland/following{/other_user}","gists_url":"https://api.github.com/users/WebKitForWayland/gists{/gist_id}","starred_url":"https://api.github.com/users/WebKitForWayland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WebKitForWayland/subscriptions","organizations_url":"https://api.github.com/users/WebKitForWayland/orgs","repos_url":"https://api.github.com/users/WebKitForWayland/repos","events_url":"https://api.github.com/users/WebKitForWayland/events{/privacy}","received_events_url":"https://api.github.com/users/WebKitForWayland/received_events","type":"Organization","site_admin":false},"repo":{"id":27720012,"name":"webkit","full_name":"WebKitForWayland/webkit","owner":{"login":"WebKitForWayland","id":10116105,"avatar_url":"https://avatars.githubusercontent.com/u/10116105?v=3","gravatar_id":"","url":"https://api.github.com/users/WebKitForWayland","html_url":"https://github.com/WebKitForWayland","followers_url":"https://api.github.com/users/WebKitForWayland/followers","following_url":"https://api.github.com/users/WebKitForWayland/following{/other_user}","gists_url":"https://api.github.com/users/WebKitForWayland/gists{/gist_id}","starred_url":"https://api.github.com/users/WebKitForWayland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WebKitForWayland/subscriptions","organizations_url":"https://api.github.com/users/WebKitForWayland/orgs","repos_url":"https://api.github.com/users/WebKitForWayland/repos","events_url":"https://api.github.com/users/WebKitForWayland/events{/privacy}","received_events_url":"https://api.github.com/users/WebKitForWayland/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/WebKitForWayland/webkit","description":"Unofficial mirror of the WebKit SVN repository","fork":true,"url":"https://api.github.com/repos/WebKitForWayland/webkit","forks_url":"https://api.github.com/repos/WebKitForWayland/webkit/forks","keys_url":"https://api.github.com/repos/WebKitForWayland/webkit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WebKitForWayland/webkit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WebKitForWayland/webkit/teams","hooks_url":"https://api.github.com/repos/WebKitForWayland/webkit/hooks","issue_events_url":"https://api.github.com/repos/WebKitForWayland/webkit/issues/events{/number}","events_url":"https://api.github.com/repos/WebKitForWayland/webkit/events","assignees_url":"https://api.github.com/repos/WebKitForWayland/webkit/assignees{/user}","branches_url":"https://api.github.com/repos/WebKitForWayland/webkit/branches{/branch}","tags_url":"https://api.github.com/repos/WebKitForWayland/webkit/tags","blobs_url":"https://api.github.com/repos/WebKitForWayland/webkit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WebKitForWayland/webkit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WebKitForWayland/webkit/git/refs{/sha}","trees_url":"https://api.github.com/repos/WebKitForWayland/webkit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WebKitForWayland/webkit/statuses/{sha}","languages_url":"https://api.github.com/repos/WebKitForWayland/webkit/languages","stargazers_url":"https://api.github.com/repos/WebKitForWayland/webkit/stargazers","contributors_url":"https://api.github.com/repos/WebKitForWayland/webkit/contributors","subscribers_url":"https://api.github.com/repos/WebKitForWayland/webkit/subscribers","subscription_url":"https://api.github.com/repos/WebKitForWayland/webkit/subscription","commits_url":"https://api.github.com/repos/WebKitForWayland/webkit/commits{/sha}","git_commits_url":"https://api.github.com/repos/WebKitForWayland/webkit/git/commits{/sha}","comments_url":"https://api.github.com/repos/WebKitForWayland/webkit/comments{/number}","issue_comment_url":"https://api.github.com/repos/WebKitForWayland/webkit/issues/comments{/number}","contents_url":"https://api.github.com/repos/WebKitForWayland/webkit/contents/{+path}","compare_url":"https://api.github.com/repos/WebKitForWayland/webkit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WebKitForWayland/webkit/merges","archive_url":"https://api.github.com/repos/WebKitForWayland/webkit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WebKitForWayland/webkit/downloads","issues_url":"https://api.github.com/repos/WebKitForWayland/webkit/issues{/number}","pulls_url":"https://api.github.com/repos/WebKitForWayland/webkit/pulls{/number}","milestones_url":"https://api.github.com/repos/WebKitForWayland/webkit/milestones{/number}","notifications_url":"https://api.github.com/repos/WebKitForWayland/webkit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WebKitForWayland/webkit/labels{/name}","releases_url":"https://api.github.com/repos/WebKitForWayland/webkit/releases{/id}","created_at":"2014-12-08T15:01:05Z","updated_at":"2015-11-05T02:38:59Z","pushed_at":"2015-12-15T15:36:15Z","git_url":"git://github.com/WebKitForWayland/webkit.git","ssh_url":"git@github.com:WebKitForWayland/webkit.git","clone_url":"https://github.com/WebKitForWayland/webkit.git","svn_url":"https://github.com/WebKitForWayland/webkit","homepage":"http://www.webkit.org/","size":6953533,"stargazers_count":18,"watchers_count":18,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":1,"forks":7,"open_issues":1,"watchers":18,"default_branch":"master"}},"base":{"label":"WebKitForWayland:master","ref":"master","sha":"4a733709febd61cbdca2615d9a79a163ae7e76df","user":{"login":"WebKitForWayland","id":10116105,"avatar_url":"https://avatars.githubusercontent.com/u/10116105?v=3","gravatar_id":"","url":"https://api.github.com/users/WebKitForWayland","html_url":"https://github.com/WebKitForWayland","followers_url":"https://api.github.com/users/WebKitForWayland/followers","following_url":"https://api.github.com/users/WebKitForWayland/following{/other_user}","gists_url":"https://api.github.com/users/WebKitForWayland/gists{/gist_id}","starred_url":"https://api.github.com/users/WebKitForWayland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WebKitForWayland/subscriptions","organizations_url":"https://api.github.com/users/WebKitForWayland/orgs","repos_url":"https://api.github.com/users/WebKitForWayland/repos","events_url":"https://api.github.com/users/WebKitForWayland/events{/privacy}","received_events_url":"https://api.github.com/users/WebKitForWayland/received_events","type":"Organization","site_admin":false},"repo":{"id":27720012,"name":"webkit","full_name":"WebKitForWayland/webkit","owner":{"login":"WebKitForWayland","id":10116105,"avatar_url":"https://avatars.githubusercontent.com/u/10116105?v=3","gravatar_id":"","url":"https://api.github.com/users/WebKitForWayland","html_url":"https://github.com/WebKitForWayland","followers_url":"https://api.github.com/users/WebKitForWayland/followers","following_url":"https://api.github.com/users/WebKitForWayland/following{/other_user}","gists_url":"https://api.github.com/users/WebKitForWayland/gists{/gist_id}","starred_url":"https://api.github.com/users/WebKitForWayland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WebKitForWayland/subscriptions","organizations_url":"https://api.github.com/users/WebKitForWayland/orgs","repos_url":"https://api.github.com/users/WebKitForWayland/repos","events_url":"https://api.github.com/users/WebKitForWayland/events{/privacy}","received_events_url":"https://api.github.com/users/WebKitForWayland/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/WebKitForWayland/webkit","description":"Unofficial mirror of the WebKit SVN repository","fork":true,"url":"https://api.github.com/repos/WebKitForWayland/webkit","forks_url":"https://api.github.com/repos/WebKitForWayland/webkit/forks","keys_url":"https://api.github.com/repos/WebKitForWayland/webkit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WebKitForWayland/webkit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WebKitForWayland/webkit/teams","hooks_url":"https://api.github.com/repos/WebKitForWayland/webkit/hooks","issue_events_url":"https://api.github.com/repos/WebKitForWayland/webkit/issues/events{/number}","events_url":"https://api.github.com/repos/WebKitForWayland/webkit/events","assignees_url":"https://api.github.com/repos/WebKitForWayland/webkit/assignees{/user}","branches_url":"https://api.github.com/repos/WebKitForWayland/webkit/branches{/branch}","tags_url":"https://api.github.com/repos/WebKitForWayland/webkit/tags","blobs_url":"https://api.github.com/repos/WebKitForWayland/webkit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WebKitForWayland/webkit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WebKitForWayland/webkit/git/refs{/sha}","trees_url":"https://api.github.com/repos/WebKitForWayland/webkit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WebKitForWayland/webkit/statuses/{sha}","languages_url":"https://api.github.com/repos/WebKitForWayland/webkit/languages","stargazers_url":"https://api.github.com/repos/WebKitForWayland/webkit/stargazers","contributors_url":"https://api.github.com/repos/WebKitForWayland/webkit/contributors","subscribers_url":"https://api.github.com/repos/WebKitForWayland/webkit/subscribers","subscription_url":"https://api.github.com/repos/WebKitForWayland/webkit/subscription","commits_url":"https://api.github.com/repos/WebKitForWayland/webkit/commits{/sha}","git_commits_url":"https://api.github.com/repos/WebKitForWayland/webkit/git/commits{/sha}","comments_url":"https://api.github.com/repos/WebKitForWayland/webkit/comments{/number}","issue_comment_url":"https://api.github.com/repos/WebKitForWayland/webkit/issues/comments{/number}","contents_url":"https://api.github.com/repos/WebKitForWayland/webkit/contents/{+path}","compare_url":"https://api.github.com/repos/WebKitForWayland/webkit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WebKitForWayland/webkit/merges","archive_url":"https://api.github.com/repos/WebKitForWayland/webkit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WebKitForWayland/webkit/downloads","issues_url":"https://api.github.com/repos/WebKitForWayland/webkit/issues{/number}","pulls_url":"https://api.github.com/repos/WebKitForWayland/webkit/pulls{/number}","milestones_url":"https://api.github.com/repos/WebKitForWayland/webkit/milestones{/number}","notifications_url":"https://api.github.com/repos/WebKitForWayland/webkit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WebKitForWayland/webkit/labels{/name}","releases_url":"https://api.github.com/repos/WebKitForWayland/webkit/releases{/id}","created_at":"2014-12-08T15:01:05Z","updated_at":"2015-11-05T02:38:59Z","pushed_at":"2015-12-15T15:36:15Z","git_url":"git://github.com/WebKitForWayland/webkit.git","ssh_url":"git@github.com:WebKitForWayland/webkit.git","clone_url":"https://github.com/WebKitForWayland/webkit.git","svn_url":"https://github.com/WebKitForWayland/webkit","homepage":"http://www.webkit.org/","size":6953533,"stargazers_count":18,"watchers_count":18,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":1,"forks":7,"open_issues":1,"watchers":18,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/WebKitForWayland/webkit/pulls/14"},"html":{"href":"https://github.com/WebKitForWayland/webkit/pull/14"},"issue":{"href":"https://api.github.com/repos/WebKitForWayland/webkit/issues/14"},"comments":{"href":"https://api.github.com/repos/WebKitForWayland/webkit/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/WebKitForWayland/webkit/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/WebKitForWayland/webkit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/WebKitForWayland/webkit/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/WebKitForWayland/webkit/statuses/14724d03c595aec1d41cd8d5e2df5e6c5e64c05a"}}}}