Index: chrome/browser/plugin_process_host.h |
=================================================================== |
--- chrome/browser/plugin_process_host.h (revision 10893) |
+++ chrome/browser/plugin_process_host.h (working copy) |
@@ -7,6 +7,7 @@ |
#include "build/build_config.h" |
+#include <set> |
#include <vector> |
#include "base/basictypes.h" |
@@ -79,6 +80,11 @@ |
const WebPluginInfo& info() const { return info_; } |
+#if defined(OS_WIN) |
+ // Tracks plugin parent windows created on the browser UI thread. |
+ void AddWindow(HWND window); |
+#endif |
+ |
private: |
friend class PluginResolveProxyHelper; |
@@ -137,6 +143,11 @@ |
// the requests to the proxy service). |
ResolveProxyMsgHelper resolve_proxy_msg_helper_; |
+#if defined(OS_WIN) |
+ // Tracks plugin parent windows created on the UI thread. |
+ std::set<HWND> plugin_parent_windows_set_; |
+#endif |
+ |
DISALLOW_EVIL_CONSTRUCTORS(PluginProcessHost); |
}; |