summaryrefslogtreecommitdiffstats
path: root/WebCore/plugins/PluginView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/plugins/PluginView.cpp')
-rw-r--r--WebCore/plugins/PluginView.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/WebCore/plugins/PluginView.cpp b/WebCore/plugins/PluginView.cpp
index da01a43..fe24109 100644
--- a/WebCore/plugins/PluginView.cpp
+++ b/WebCore/plugins/PluginView.cpp
@@ -171,8 +171,10 @@ void PluginView::handleEvent(Event* event)
else if (event->isKeyboardEvent())
handleKeyboardEvent(static_cast<KeyboardEvent*>(event));
#if defined(ANDROID_PLUGINS)
+#if ENABLE(TOUCH_EVENTS)
else if (event->isTouchEvent())
handleTouchEvent(static_cast<TouchEvent*>(event));
+#endif
else if (event->type() == eventNames().DOMFocusOutEvent)
handleFocusEvent(false);
else if (event->type() == eventNames().DOMFocusInEvent)