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

Unified Diff: chrome/browser/plugin_process_host.h

Issue 40120: Ensure that we display a sad face for a windowed plugin when the plugin proce... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/plugin_process_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
« no previous file with comments | « no previous file | chrome/browser/plugin_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698