Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Issue 40120: Ensure that we display a sad face for a windowed plugin when the plugin proce... (Closed)

Created:
11 years, 9 months ago by ananta
Modified:
9 years, 6 months ago
Reviewers:
jam
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Ensure that we display a sad face for a windowed plugin when the plugin process crashes. This was a regression introduced by creating the plugin parent on the browser UI thread, which remains valid when the plugin process crashes. The fix is to track plugin wrapper windows in the PluginProcessHost class and destroy any remaining windows in the destructor. Removed the DestroyWindowTask which destroys the windows on the UI thread. We can achieve the same result by posting WM_CLOSE messages to these windows. This fixes http://code.google.com/p/chromium/issues/detail?id=7673 Bug=7673 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=10960

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 1

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Total comments: 4

Patch Set 6 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -21 lines) Patch
M chrome/browser/plugin_process_host.h View 5 3 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/plugin_process_host.cc View 1 2 3 4 5 6 chunks +34 lines, -21 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
ananta
11 years, 9 months ago (2009-03-04 19:10:42 UTC) #1
jam
I don't understand why the second part of this changelist is needed? "The other change ...
11 years, 9 months ago (2009-03-04 20:28:57 UTC) #2
ananta
On 2009/03/04 20:28:57, John Abd-El-Malek wrote: > I don't understand why the second part of ...
11 years, 9 months ago (2009-03-04 21:06:59 UTC) #3
jam
On 2009/03/04 21:06:59, ananta wrote: > On 2009/03/04 20:28:57, John Abd-El-Malek wrote: > > I ...
11 years, 9 months ago (2009-03-04 22:07:02 UTC) #4
ananta
On 2009/03/04 22:07:02, John Abd-El-Malek wrote: > On 2009/03/04 21:06:59, ananta wrote: > > On ...
11 years, 9 months ago (2009-03-04 22:29:59 UTC) #5
jam
lgtm, please add a blurb about why closing the hwnd is necessary. http://codereview.chromium.org/40120/diff/7/8 File chrome/browser/plugin_process_host.cc ...
11 years, 9 months ago (2009-03-04 22:50:41 UTC) #6
ananta
On 2009/03/04 22:50:41, John Abd-El-Malek wrote: > lgtm, please add a blurb about why closing ...
11 years, 9 months ago (2009-03-04 23:27:56 UTC) #7
jam
http://codereview.chromium.org/40120/diff/13/14 File chrome/browser/plugin_process_host.cc (right): http://codereview.chromium.org/40120/diff/13/14#newcode384 Line 384: // destroy existing plugin parent windows. perhaps say ...
11 years, 9 months ago (2009-03-05 00:38:05 UTC) #8
ananta
http://codereview.chromium.org/40120/diff/13/14 File chrome/browser/plugin_process_host.cc (right): http://codereview.chromium.org/40120/diff/13/14#newcode384 Line 384: // destroy existing plugin parent windows. On 2009/03/05 ...
11 years, 9 months ago (2009-03-05 01:34:13 UTC) #9
jam
11 years, 9 months ago (2009-03-05 01:47:08 UTC) #10
lgtm

Powered by Google App Engine
This is Rietveld 408576698