From fb4663463c33d39b591a159b22e84d3c5d81ea62 Mon Sep 17 00:00:00 2001 From: "evan@chromium.org" Date: Wed, 15 Jul 2009 00:43:08 +0000 Subject: 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 --- webkit/glue/plugins/gtk_plugin_container_manager.h | 1 + 1 file changed, 1 insertion(+) (limited to 'webkit/glue/plugins/gtk_plugin_container_manager.h') 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 #include + #include "base/gfx/native_widget_types.h" typedef struct _GtkWidget GtkWidget; -- cgit v1.1