summaryrefslogtreecommitdiffstats
path: root/WebCore/plugins/android/PluginViewAndroid.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/plugins/android/PluginViewAndroid.cpp')
-rw-r--r--WebCore/plugins/android/PluginViewAndroid.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/WebCore/plugins/android/PluginViewAndroid.cpp b/WebCore/plugins/android/PluginViewAndroid.cpp
index c4bccdb..ed7a694 100644
--- a/WebCore/plugins/android/PluginViewAndroid.cpp
+++ b/WebCore/plugins/android/PluginViewAndroid.cpp
@@ -212,7 +212,7 @@ void PluginView::handleTouchEvent(TouchEvent* event)
evt.data.touch.x = localPos.x();
evt.data.touch.y = localPos.y();
- int16 ret = m_plugin->pluginFuncs()->event(m_instance, &evt);
+ int16 ret = m_window->sendEvent(evt);
if (ignoreRet)
return;
if (ret & kHandleTouch_ANPTouchResult) {
@@ -259,7 +259,7 @@ void PluginView::handleMouseEvent(MouseEvent* event)
return;
}
- if (m_plugin->pluginFuncs()->event(m_instance, &evt)) {
+ if (m_window->sendEvent(evt)) {
event->setDefaultHandled();
}
}
@@ -348,7 +348,7 @@ void PluginView::handleKeyboardEvent(KeyboardEvent* event)
evt.data.key.modifiers = make_modifiers(pke->shiftKey(), pke->altKey());
evt.data.key.unichar = pke->unichar();
- if (m_plugin->pluginFuncs()->event(m_instance, &evt)) {
+ if (m_window->sendEvent(evt)) {
event->setDefaultHandled();
} else if (m_window->inFullScreen()){
// while in the full screen mode, always consumes the key events and