summaryrefslogtreecommitdiffstats
path: root/chrome/plugin/npobject_stub.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/plugin/npobject_stub.h')
-rw-r--r--chrome/plugin/npobject_stub.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/chrome/plugin/npobject_stub.h b/chrome/plugin/npobject_stub.h
index 0f59290..6017f73 100644
--- a/chrome/plugin/npobject_stub.h
+++ b/chrome/plugin/npobject_stub.h
@@ -10,14 +10,11 @@
#include <vector>
+#include "base/gfx/native_widget_types.h"
#include "base/ref_counted.h"
#include "googleurl/src/gurl.h"
#include "ipc/ipc_channel.h"
-namespace base {
-class WaitableEvent;
-}
-
class PluginChannelBase;
class WebPluginDelegateProxy;
struct NPIdentifier_Param;
@@ -33,7 +30,7 @@ class NPObjectStub : public IPC::Channel::Listener,
NPObjectStub(NPObject* npobject,
PluginChannelBase* channel,
int route_id,
- base::WaitableEvent* modal_dialog_event,
+ gfx::NativeViewId containing_window,
const GURL& page_url);
~NPObjectStub();
@@ -91,7 +88,7 @@ class NPObjectStub : public IPC::Channel::Listener,
bool valid_;
WebPluginDelegateProxy* web_plugin_delegate_proxy_;
- base::WaitableEvent* modal_dialog_event_;
+ gfx::NativeViewId containing_window_;
// The url of the main frame hosting the plugin.
GURL page_url_;