summaryrefslogtreecommitdiffstats
path: root/webkit/glue
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-14 22:31:32 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-14 22:31:32 +0000
commitd6f2af9030eaac77695a97f4d3cb643ccacc3a78 (patch)
tree04684a311b407a0a1026dbd9199d19378bd1091a /webkit/glue
parenta80331bf8b8353b4335f3a751a7856833ea28a18 (diff)
downloadchromium_src-d6f2af9030eaac77695a97f4d3cb643ccacc3a78.zip
chromium_src-d6f2af9030eaac77695a97f4d3cb643ccacc3a78.tar.gz
chromium_src-d6f2af9030eaac77695a97f4d3cb643ccacc3a78.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@20683 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue')
-rw-r--r--webkit/glue/plugins/gtk_plugin_container_manager.h1
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;