diff options
Diffstat (limited to 'Source/WebCore/html/HTMLPlugInElement.cpp')
-rw-r--r-- | Source/WebCore/html/HTMLPlugInElement.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Source/WebCore/html/HTMLPlugInElement.cpp b/Source/WebCore/html/HTMLPlugInElement.cpp index 2d965624a..7a9f654d7 100644 --- a/Source/WebCore/html/HTMLPlugInElement.cpp +++ b/Source/WebCore/html/HTMLPlugInElement.cpp @@ -78,6 +78,18 @@ bool HTMLPlugInElement::canProcessDrag() const return plugin ? plugin->canProcessDrag() : false; } +bool HTMLPlugInElement::willRespondToMouseClickEvents() +{ + if (disabled()) + return false; + RenderObject* r = renderer(); + if (!r) + return false; + if (!r->isEmbeddedObject() && !r->isWidget()) + return false; + return true; +} + void HTMLPlugInElement::detach() { m_instance.clear(); |