summaryrefslogtreecommitdiff
path: root/Source/WebCore/plugins/PluginViewBase.h
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@nokia.com>2012-05-11 09:43:24 +0200
committerSimon Hausmann <simon.hausmann@nokia.com>2012-05-11 09:43:24 +0200
commit1b914638db989aaa98631a1c1e02c7b2d44805d8 (patch)
tree87f4fd2c7b38db320079a5de8877890d2ca3c485 /Source/WebCore/plugins/PluginViewBase.h
parent2cf6c8816a73e0132bd8fa3b509d62d7c51b6e47 (diff)
downloadqtwebkit-1b914638db989aaa98631a1c1e02c7b2d44805d8.tar.gz
Imported WebKit commit 9a52e27980f47e8b0d8f8b7cc0fd7b5741bceb92 (http://svn.webkit.org/repository/webkit/trunk@116736)
New snapshot to include QDeclarative* -> QQml* build fixes
Diffstat (limited to 'Source/WebCore/plugins/PluginViewBase.h')
-rw-r--r--Source/WebCore/plugins/PluginViewBase.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/WebCore/plugins/PluginViewBase.h b/Source/WebCore/plugins/PluginViewBase.h
index fa839d444..5f13c8846 100644
--- a/Source/WebCore/plugins/PluginViewBase.h
+++ b/Source/WebCore/plugins/PluginViewBase.h
@@ -57,6 +57,9 @@ public:
virtual Scrollbar* horizontalScrollbar() { return 0; }
virtual Scrollbar* verticalScrollbar() { return 0; }
+ // FIXME: This is a hack that works around the fact that the WebKit2 PluginView isn't a ScrollableArea.
+ virtual bool wantsWheelEvents() { return false; }
+
protected:
PluginViewBase(PlatformWidget widget = 0) : Widget(widget) { }