summaryrefslogtreecommitdiffstats
path: root/content/plugin
diff options
context:
space:
mode:
authorsteveblock@chromium.org <steveblock@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-22 00:31:08 +0000
committersteveblock@chromium.org <steveblock@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-22 00:31:08 +0000
commit959a694093db706173cccfec4c1e14717ce370e1 (patch)
treee891eff65f9bbddbf3fa223d96ed3b6533b15f8c /content/plugin
parentec8734c639ff92f98c614e79a9ebfb7ceaa7e113 (diff)
downloadchromium_src-959a694093db706173cccfec4c1e14717ce370e1.zip
chromium_src-959a694093db706173cccfec4c1e14717ce370e1.tar.gz
chromium_src-959a694093db706173cccfec4c1e14717ce370e1.tar.bz2
Add NPChannelBase::GetModalDialogEvent() to avoid content/plugin/ include from npobject_proxy.cc
This patch adds a new virtual method NPChannelBase::GetModalDialogEvent() to avoid the need for NPObjectProxy to cast its NPChannelBase to PluginChannel. Refactoring only, no functional change. BUG=96703 Review URL: http://codereview.chromium.org/7983032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102212 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/plugin')
-rw-r--r--content/plugin/plugin_channel.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/content/plugin/plugin_channel.h b/content/plugin/plugin_channel.h
index d2d7f0b..c8665d9 100644
--- a/content/plugin/plugin_channel.h
+++ b/content/plugin/plugin_channel.h
@@ -43,7 +43,8 @@ class PluginChannel : public NPChannelBase {
// Returns the event that's set when a call to the renderer causes a modal
// dialog to come up.
- base::WaitableEvent* GetModalDialogEvent(gfx::NativeViewId containing_window);
+ virtual base::WaitableEvent* GetModalDialogEvent(
+ gfx::NativeViewId containing_window);
bool in_send() { return in_send_ != 0; }