diff options
Diffstat (limited to 'Source/WebCore/html/HTMLPlugInElement.cpp')
-rw-r--r-- | Source/WebCore/html/HTMLPlugInElement.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/WebCore/html/HTMLPlugInElement.cpp b/Source/WebCore/html/HTMLPlugInElement.cpp index 9947a736e..2d965624a 100644 --- a/Source/WebCore/html/HTMLPlugInElement.cpp +++ b/Source/WebCore/html/HTMLPlugInElement.cpp @@ -72,6 +72,12 @@ HTMLPlugInElement::~HTMLPlugInElement() #endif } +bool HTMLPlugInElement::canProcessDrag() const +{ + const PluginViewBase* plugin = pluginWidget() && pluginWidget()->isPluginViewBase() ? static_cast<const PluginViewBase*>(pluginWidget()) : 0; + return plugin ? plugin->canProcessDrag() : false; +} + void HTMLPlugInElement::detach() { m_instance.clear(); |