[BlackBerry] Pass key modifiers with touch and mouse events
[WebKit-https.git] / Source / WebCore / platform / blackberry / PlatformMouseEventBlackBerry.cpp
index a8d9609..6ce0e73 100644 (file)
@@ -23,8 +23,8 @@
 
 namespace WebCore {
 
-PlatformMouseEvent::PlatformMouseEvent(const IntPoint& eventPosition, const IntPoint& globalPosition, const PlatformEvent::Type type, int clickCount, MouseButton button, MouseInputMethod method)
-    : PlatformEvent(type, false, false, false, false, currentTime())
+PlatformMouseEvent::PlatformMouseEvent(const IntPoint& eventPosition, const IntPoint& globalPosition, const PlatformEvent::Type type, int clickCount, MouseButton button, bool shiftKey, bool ctrlKey, bool altKey, MouseInputMethod method)
+    : PlatformEvent(type, shiftKey, ctrlKey, altKey, false, currentTime())
     , m_position(eventPosition)
     , m_globalPosition(globalPosition)
     , m_button(button)