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

Unified Diff: content/common/np_channel_base.h

Issue 7983032: Add NPChannelBase::GetModalDialogEvent() to avoid content/plugin/ include from npobject_proxy.cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased after http://codereview.chromium.org/7982026 Created 9 years, 3 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 | « content/common/DEPS ('k') | content/common/np_channel_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)();
« no previous file with comments | « content/common/DEPS ('k') | content/common/np_channel_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698