summaryrefslogtreecommitdiffstats
path: root/chrome/plugin/webplugin_proxy.h
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-21 08:10:29 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-21 08:10:29 +0000
commitb62de6b223ad59c0183fb0890f27121c7d24d852 (patch)
tree92787f54447c363052070044c7033f56c62e262f /chrome/plugin/webplugin_proxy.h
parent8930d471c128ed74b11beaa78ea1b171c1ac7157 (diff)
downloadchromium_src-b62de6b223ad59c0183fb0890f27121c7d24d852.zip
chromium_src-b62de6b223ad59c0183fb0890f27121c7d24d852.tar.gz
chromium_src-b62de6b223ad59c0183fb0890f27121c7d24d852.tar.bz2
Fix plugin hang that Earth team found.
Normally an NPObjectProxy uses the modal dialog event to figure out when it needs to pump window messages in an invoke. However, an NPObjectProxy created by an NPObjectStub never got access to this event, which led to this hang. BUG=7793 Review URL: http://codereview.chromium.org/20515 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10145 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/plugin/webplugin_proxy.h')
-rw-r--r--chrome/plugin/webplugin_proxy.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/plugin/webplugin_proxy.h b/chrome/plugin/webplugin_proxy.h
index d6922aa..fd55416 100644
--- a/chrome/plugin/webplugin_proxy.h
+++ b/chrome/plugin/webplugin_proxy.h
@@ -97,6 +97,10 @@ class WebPluginProxy : public WebPlugin {
bool notify_needed,
HANDLE notify_data);
+ base::WaitableEvent* modal_dialog_event() {
+ return modal_dialog_event_.get();
+ }
+
private:
bool Send(IPC::Message* msg);