Exemplo n.º 1
0
WebTouchEvent::WebTouchEvent(WebEvent::Type type, Vector<WebPlatformTouchPoint> touchPoints, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, Modifiers modifiers, double timestamp)
    : WebEvent(type, modifiers, timestamp)
    , m_touchPoints(touchPoints)
    , m_ctrlKey(ctrlKey)
    , m_altKey(altKey)
    , m_shiftKey(shiftKey)
    , m_metaKey(metaKey)
{
    ASSERT(isTouchEventType(type));
}
Exemplo n.º 2
0
WebTouchEvent::WebTouchEvent(WebEvent::Type type, Vector<WebPlatformTouchPoint> touchPoints, Modifiers modifiers, double timestamp)
    : WebEvent(type, modifiers, timestamp)
    , m_touchPoints(touchPoints)
{
    ASSERT(isTouchEventType(type));
}