diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-15 00:43:08 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-15 00:43:08 +0000 |
commit | fb4663463c33d39b591a159b22e84d3c5d81ea62 (patch) | |
tree | 404f931268587d6063601b0a52a75d655cd71904 /webkit/glue/plugins/gtk_plugin_container_manager.h | |
parent | acb7d597819483d8db4b28fdf42b3e9d07182b5b (diff) | |
download | chromium_src-fb4663463c33d39b591a159b22e84d3c5d81ea62.zip chromium_src-fb4663463c33d39b591a159b22e84d3c5d81ea62.tar.gz chromium_src-fb4663463c33d39b591a159b22e84d3c5d81ea62.tar.bz2 |
linux: destroy browser-side plugin windows on plugin crash
Because the plugin windows must be destroyed by the UI thread,
we store the map of plugin PID -> plugin windows there,
on the RenderWidgetHostView.
This differs slightly from Windows, where the map is stored
on the PluginProcessHost, but is otherwise pretty similar.
TEST=crash a windowed plugin; you should see a sad plugin
icon in the place of the plugin
Review URL: http://codereview.chromium.org/155517
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20693 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/plugins/gtk_plugin_container_manager.h')
-rw-r--r-- | webkit/glue/plugins/gtk_plugin_container_manager.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/webkit/glue/plugins/gtk_plugin_container_manager.h b/webkit/glue/plugins/gtk_plugin_container_manager.h index f38baee..648e963 100644 --- a/webkit/glue/plugins/gtk_plugin_container_manager.h +++ b/webkit/glue/plugins/gtk_plugin_container_manager.h @@ -7,6 +7,7 @@ #include <gtk/gtk.h> #include <map> + #include "base/gfx/native_widget_types.h" typedef struct _GtkWidget GtkWidget; |