| Index: content/common/np_channel_base.h
|
| diff --git a/content/common/np_channel_base.h b/content/common/np_channel_base.h
|
| index 5f0eac5f8010dc11394fd9c5f1ef4d771ee1116c..810cfbea5cdad8cece0ea4f77bb9897a2e4aa8eb 100644
|
| --- a/content/common/np_channel_base.h
|
| +++ b/content/common/np_channel_base.h
|
| @@ -100,6 +100,12 @@ class NPChannelBase : public IPC::Channel::Listener,
|
| // Returns NULL on failure.
|
| NPObjectBase* GetNPObjectListenerForRoute(int route_id);
|
|
|
| + // Returns the event that's set when a call to the renderer causes a modal
|
| + // dialog to come up. The default implementation returns NULL. Derived
|
| + // classes should override this method if this functionality is required.
|
| + virtual base::WaitableEvent* GetModalDialogEvent(
|
| + gfx::NativeViewId containing_window);
|
| +
|
| protected:
|
| typedef NPChannelBase* (*ChannelFactory)();
|
|
|
|
|