{"action":"created","comment":{"url":"https://api.github.com/repos/cefsharp/CefSharp/pulls/comments/24131900","id":24131900,"diff_hunk":"@@ -93,10 +94,31 @@ protected override void Dispose(bool disposing)\n             base.Dispose(disposing);\n         }\n \n+        void movingListener_Moving(object sender, EventArgs e)\n+        {\n+            if (IsBrowserInitialized)\n+            {\n+                NotifyMoveOrResizeStarted();\n+            }\n+        }\n+\n         void IWebBrowserInternal.OnInitialized()\n         {\n             IsBrowserInitialized = true;\n \n+            // By the time this callback gets called, this control\n+            // is most likely hooked into a parent Form of some sort. \n+            // (Which is what MovingListener relies on.)\n+            // Ensure the MovingListener contruction occurs on the WinForms UI thread:\n+            if (InvokeRequired)","path":"CefSharp.WinForms/ChromiumWebBrowser.cs","position":28,"original_position":28,"commit_id":"0279c41d3ca201cf80cee24464b7a8129f2e6ef5","original_commit_id":"0279c41d3ca201cf80cee24464b7a8129f2e6ef5","user":{"login":"amaitland","id":307872,"avatar_url":"https://avatars.githubusercontent.com/u/307872?v=3","gravatar_id":"","url":"https://api.github.com/users/amaitland","html_url":"https://github.com/amaitland","followers_url":"https://api.github.com/users/amaitland/followers","following_url":"https://api.github.com/users/amaitland/following{/other_user}","gists_url":"https://api.github.com/users/amaitland/gists{/gist_id}","starred_url":"https://api.github.com/users/amaitland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amaitland/subscriptions","organizations_url":"https://api.github.com/users/amaitland/orgs","repos_url":"https://api.github.com/users/amaitland/repos","events_url":"https://api.github.com/users/amaitland/events{/privacy}","received_events_url":"https://api.github.com/users/amaitland/received_events","type":"User","site_admin":false},"body":"There's an extension method `InvokeOnUiThreadIfRequired`, prefer to use that for consistency/brevity.","created_at":"2015-02-04T23:52:49Z","updated_at":"2015-02-04T23:52:49Z","html_url":"https://github.com/cefsharp/CefSharp/pull/787#discussion_r24131900","pull_request_url":"https://api.github.com/repos/cefsharp/CefSharp/pulls/787","_links":{"self":{"href":"https://api.github.com/repos/cefsharp/CefSharp/pulls/comments/24131900"},"html":{"href":"https://github.com/cefsharp/CefSharp/pull/787#discussion_r24131900"},"pull_request":{"href":"https://api.github.com/repos/cefsharp/CefSharp/pulls/787"}}},"pull_request":{"url":"https://api.github.com/repos/cefsharp/CefSharp/pulls/787","id":28616846,"html_url":"https://github.com/cefsharp/CefSharp/pull/787","diff_url":"https://github.com/cefsharp/CefSharp/pull/787.diff","patch_url":"https://github.com/cefsharp/CefSharp/pull/787.patch","issue_url":"https://api.github.com/repos/cefsharp/CefSharp/issues/787","number":787,"state":"open","locked":false,"title":"#672: Notify CEF when our owning form moves (WM_MOVE or WM_MOVING) just ...","user":{"login":"rassilon","id":698352,"avatar_url":"https://avatars.githubusercontent.com/u/698352?v=3","gravatar_id":"","url":"https://api.github.com/users/rassilon","html_url":"https://github.com/rassilon","followers_url":"https://api.github.com/users/rassilon/followers","following_url":"https://api.github.com/users/rassilon/following{/other_user}","gists_url":"https://api.github.com/users/rassilon/gists{/gist_id}","starred_url":"https://api.github.com/users/rassilon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rassilon/subscriptions","organizations_url":"https://api.github.com/users/rassilon/orgs","repos_url":"https://api.github.com/users/rassilon/repos","events_url":"https://api.github.com/users/rassilon/events{/privacy}","received_events_url":"https://api.github.com/users/rassilon/received_events","type":"User","site_admin":false},"body":"WM_MOVE and WM_MOVING only get sent to parent windows, so add a MovingListener that attaches to the control's parent form and sends the notifications to CEF.\r\n\r\nFyi,\r\nBill\r\n\r\n\r\n","created_at":"2015-02-04T06:48:40Z","updated_at":"2015-02-04T23:52:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f2ff96472bbf84fd5ac2b24911c70f79a5b773ab","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cefsharp/CefSharp/pulls/787/commits","review_comments_url":"https://api.github.com/repos/cefsharp/CefSharp/pulls/787/comments","review_comment_url":"https://api.github.com/repos/cefsharp/CefSharp/pulls/comments/{number}","comments_url":"https://api.github.com/repos/cefsharp/CefSharp/issues/787/comments","statuses_url":"https://api.github.com/repos/cefsharp/CefSharp/statuses/0279c41d3ca201cf80cee24464b7a8129f2e6ef5","head":{"label":"rassilon:issue-672","ref":"issue-672","sha":"0279c41d3ca201cf80cee24464b7a8129f2e6ef5","user":{"login":"rassilon","id":698352,"avatar_url":"https://avatars.githubusercontent.com/u/698352?v=3","gravatar_id":"","url":"https://api.github.com/users/rassilon","html_url":"https://github.com/rassilon","followers_url":"https://api.github.com/users/rassilon/followers","following_url":"https://api.github.com/users/rassilon/following{/other_user}","gists_url":"https://api.github.com/users/rassilon/gists{/gist_id}","starred_url":"https://api.github.com/users/rassilon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rassilon/subscriptions","organizations_url":"https://api.github.com/users/rassilon/orgs","repos_url":"https://api.github.com/users/rassilon/repos","events_url":"https://api.github.com/users/rassilon/events{/privacy}","received_events_url":"https://api.github.com/users/rassilon/received_events","type":"User","site_admin":false},"repo":{"id":30271558,"name":"CefSharp","full_name":"rassilon/CefSharp","owner":{"login":"rassilon","id":698352,"avatar_url":"https://avatars.githubusercontent.com/u/698352?v=3","gravatar_id":"","url":"https://api.github.com/users/rassilon","html_url":"https://github.com/rassilon","followers_url":"https://api.github.com/users/rassilon/followers","following_url":"https://api.github.com/users/rassilon/following{/other_user}","gists_url":"https://api.github.com/users/rassilon/gists{/gist_id}","starred_url":"https://api.github.com/users/rassilon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rassilon/subscriptions","organizations_url":"https://api.github.com/users/rassilon/orgs","repos_url":"https://api.github.com/users/rassilon/repos","events_url":"https://api.github.com/users/rassilon/events{/privacy}","received_events_url":"https://api.github.com/users/rassilon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rassilon/CefSharp","description":".NET (WPF and Windows Forms) bindings for the Chromium Embedded Framework","fork":true,"url":"https://api.github.com/repos/rassilon/CefSharp","forks_url":"https://api.github.com/repos/rassilon/CefSharp/forks","keys_url":"https://api.github.com/repos/rassilon/CefSharp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rassilon/CefSharp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rassilon/CefSharp/teams","hooks_url":"https://api.github.com/repos/rassilon/CefSharp/hooks","issue_events_url":"https://api.github.com/repos/rassilon/CefSharp/issues/events{/number}","events_url":"https://api.github.com/repos/rassilon/CefSharp/events","assignees_url":"https://api.github.com/repos/rassilon/CefSharp/assignees{/user}","branches_url":"https://api.github.com/repos/rassilon/CefSharp/branches{/branch}","tags_url":"https://api.github.com/repos/rassilon/CefSharp/tags","blobs_url":"https://api.github.com/repos/rassilon/CefSharp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rassilon/CefSharp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rassilon/CefSharp/git/refs{/sha}","trees_url":"https://api.github.com/repos/rassilon/CefSharp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rassilon/CefSharp/statuses/{sha}","languages_url":"https://api.github.com/repos/rassilon/CefSharp/languages","stargazers_url":"https://api.github.com/repos/rassilon/CefSharp/stargazers","contributors_url":"https://api.github.com/repos/rassilon/CefSharp/contributors","subscribers_url":"https://api.github.com/repos/rassilon/CefSharp/subscribers","subscription_url":"https://api.github.com/repos/rassilon/CefSharp/subscription","commits_url":"https://api.github.com/repos/rassilon/CefSharp/commits{/sha}","git_commits_url":"https://api.github.com/repos/rassilon/CefSharp/git/commits{/sha}","comments_url":"https://api.github.com/repos/rassilon/CefSharp/comments{/number}","issue_comment_url":"https://api.github.com/repos/rassilon/CefSharp/issues/comments/{number}","contents_url":"https://api.github.com/repos/rassilon/CefSharp/contents/{+path}","compare_url":"https://api.github.com/repos/rassilon/CefSharp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rassilon/CefSharp/merges","archive_url":"https://api.github.com/repos/rassilon/CefSharp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rassilon/CefSharp/downloads","issues_url":"https://api.github.com/repos/rassilon/CefSharp/issues{/number}","pulls_url":"https://api.github.com/repos/rassilon/CefSharp/pulls{/number}","milestones_url":"https://api.github.com/repos/rassilon/CefSharp/milestones{/number}","notifications_url":"https://api.github.com/repos/rassilon/CefSharp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rassilon/CefSharp/labels{/name}","releases_url":"https://api.github.com/repos/rassilon/CefSharp/releases{/id}","created_at":"2015-02-04T00:00:56Z","updated_at":"2015-02-04T00:00:57Z","pushed_at":"2015-02-04T23:36:59Z","git_url":"git://github.com/rassilon/CefSharp.git","ssh_url":"git@github.com:rassilon/CefSharp.git","clone_url":"https://github.com/rassilon/CefSharp.git","svn_url":"https://github.com/rassilon/CefSharp","homepage":"","size":277981,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"cefsharp:master","ref":"master","sha":"a2e56c74be2d73e7ab48ea5ef4b5a90afba7541f","user":{"login":"cefsharp","id":5076038,"avatar_url":"https://avatars.githubusercontent.com/u/5076038?v=3","gravatar_id":"","url":"https://api.github.com/users/cefsharp","html_url":"https://github.com/cefsharp","followers_url":"https://api.github.com/users/cefsharp/followers","following_url":"https://api.github.com/users/cefsharp/following{/other_user}","gists_url":"https://api.github.com/users/cefsharp/gists{/gist_id}","starred_url":"https://api.github.com/users/cefsharp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cefsharp/subscriptions","organizations_url":"https://api.github.com/users/cefsharp/orgs","repos_url":"https://api.github.com/users/cefsharp/repos","events_url":"https://api.github.com/users/cefsharp/events{/privacy}","received_events_url":"https://api.github.com/users/cefsharp/received_events","type":"Organization","site_admin":false},"repo":{"id":1135454,"name":"CefSharp","full_name":"cefsharp/CefSharp","owner":{"login":"cefsharp","id":5076038,"avatar_url":"https://avatars.githubusercontent.com/u/5076038?v=3","gravatar_id":"","url":"https://api.github.com/users/cefsharp","html_url":"https://github.com/cefsharp","followers_url":"https://api.github.com/users/cefsharp/followers","following_url":"https://api.github.com/users/cefsharp/following{/other_user}","gists_url":"https://api.github.com/users/cefsharp/gists{/gist_id}","starred_url":"https://api.github.com/users/cefsharp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cefsharp/subscriptions","organizations_url":"https://api.github.com/users/cefsharp/orgs","repos_url":"https://api.github.com/users/cefsharp/repos","events_url":"https://api.github.com/users/cefsharp/events{/privacy}","received_events_url":"https://api.github.com/users/cefsharp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cefsharp/CefSharp","description":".NET (WPF and Windows Forms) bindings for the Chromium Embedded Framework","fork":false,"url":"https://api.github.com/repos/cefsharp/CefSharp","forks_url":"https://api.github.com/repos/cefsharp/CefSharp/forks","keys_url":"https://api.github.com/repos/cefsharp/CefSharp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cefsharp/CefSharp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cefsharp/CefSharp/teams","hooks_url":"https://api.github.com/repos/cefsharp/CefSharp/hooks","issue_events_url":"https://api.github.com/repos/cefsharp/CefSharp/issues/events{/number}","events_url":"https://api.github.com/repos/cefsharp/CefSharp/events","assignees_url":"https://api.github.com/repos/cefsharp/CefSharp/assignees{/user}","branches_url":"https://api.github.com/repos/cefsharp/CefSharp/branches{/branch}","tags_url":"https://api.github.com/repos/cefsharp/CefSharp/tags","blobs_url":"https://api.github.com/repos/cefsharp/CefSharp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cefsharp/CefSharp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cefsharp/CefSharp/git/refs{/sha}","trees_url":"https://api.github.com/repos/cefsharp/CefSharp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cefsharp/CefSharp/statuses/{sha}","languages_url":"https://api.github.com/repos/cefsharp/CefSharp/languages","stargazers_url":"https://api.github.com/repos/cefsharp/CefSharp/stargazers","contributors_url":"https://api.github.com/repos/cefsharp/CefSharp/contributors","subscribers_url":"https://api.github.com/repos/cefsharp/CefSharp/subscribers","subscription_url":"https://api.github.com/repos/cefsharp/CefSharp/subscription","commits_url":"https://api.github.com/repos/cefsharp/CefSharp/commits{/sha}","git_commits_url":"https://api.github.com/repos/cefsharp/CefSharp/git/commits{/sha}","comments_url":"https://api.github.com/repos/cefsharp/CefSharp/comments{/number}","issue_comment_url":"https://api.github.com/repos/cefsharp/CefSharp/issues/comments/{number}","contents_url":"https://api.github.com/repos/cefsharp/CefSharp/contents/{+path}","compare_url":"https://api.github.com/repos/cefsharp/CefSharp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cefsharp/CefSharp/merges","archive_url":"https://api.github.com/repos/cefsharp/CefSharp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cefsharp/CefSharp/downloads","issues_url":"https://api.github.com/repos/cefsharp/CefSharp/issues{/number}","pulls_url":"https://api.github.com/repos/cefsharp/CefSharp/pulls{/number}","milestones_url":"https://api.github.com/repos/cefsharp/CefSharp/milestones{/number}","notifications_url":"https://api.github.com/repos/cefsharp/CefSharp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cefsharp/CefSharp/labels{/name}","releases_url":"https://api.github.com/repos/cefsharp/CefSharp/releases{/id}","created_at":"2010-12-03T15:23:23Z","updated_at":"2015-02-04T21:49:24Z","pushed_at":"2015-02-04T21:49:24Z","git_url":"git://github.com/cefsharp/CefSharp.git","ssh_url":"git@github.com:cefsharp/CefSharp.git","clone_url":"https://github.com/cefsharp/CefSharp.git","svn_url":"https://github.com/cefsharp/CefSharp","homepage":"","size":277981,"stargazers_count":946,"watchers_count":946,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":494,"mirror_url":null,"open_issues_count":63,"forks":494,"open_issues":63,"watchers":946,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cefsharp/CefSharp/pulls/787"},"html":{"href":"https://github.com/cefsharp/CefSharp/pull/787"},"issue":{"href":"https://api.github.com/repos/cefsharp/CefSharp/issues/787"},"comments":{"href":"https://api.github.com/repos/cefsharp/CefSharp/issues/787/comments"},"review_comments":{"href":"https://api.github.com/repos/cefsharp/CefSharp/pulls/787/comments"},"review_comment":{"href":"https://api.github.com/repos/cefsharp/CefSharp/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/cefsharp/CefSharp/pulls/787/commits"},"statuses":{"href":"https://api.github.com/repos/cefsharp/CefSharp/statuses/0279c41d3ca201cf80cee24464b7a8129f2e6ef5"}}}}