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)); }
WebTouchEvent::WebTouchEvent(WebEvent::Type type, Vector<WebPlatformTouchPoint> touchPoints, Modifiers modifiers, double timestamp) : WebEvent(type, modifiers, timestamp) , m_touchPoints(touchPoints) { ASSERT(isTouchEventType(type)); }