Index: third_party/WebKit/Source/core/events/UIEvent.cpp |
diff --git a/third_party/WebKit/Source/core/events/UIEvent.cpp b/third_party/WebKit/Source/core/events/UIEvent.cpp |
index 47bfb3b46de6477da94ececa89577bcc43b0bbfd..fac5087740068d3cdd957c6d2f3215c940250a7a 100644 |
--- a/third_party/WebKit/Source/core/events/UIEvent.cpp |
+++ b/third_party/WebKit/Source/core/events/UIEvent.cpp |
@@ -40,6 +40,14 @@ UIEvent::UIEvent(const AtomicString& eventType, bool canBubbleArg, bool cancelab |
{ |
} |
+UIEvent::UIEvent(const AtomicString& eventType, bool canBubbleArg, bool cancelableArg, EventTarget* relatedTarget, PassRefPtrWillBeRawPtr<AbstractView> viewArg, int detailArg, InputDeviceCapabilities* sourceCapabilitiesArg) |
+ : Event(eventType, canBubbleArg, cancelableArg, relatedTarget) |
+ , m_view(viewArg) |
+ , m_detail(detailArg) |
+ , m_sourceCapabilities(sourceCapabilitiesArg) |
+{ |
+} |
+ |
UIEvent::UIEvent(const AtomicString& eventType, bool canBubbleArg, bool cancelableArg, double platformTimeStamp, PassRefPtrWillBeRawPtr<AbstractView> viewArg, int detailArg, InputDeviceCapabilities* sourceCapabilitiesArg) |
: Event(eventType, canBubbleArg, cancelableArg, platformTimeStamp) |
, m_view(viewArg) |
@@ -48,6 +56,14 @@ UIEvent::UIEvent(const AtomicString& eventType, bool canBubbleArg, bool cancelab |
{ |
} |
+UIEvent::UIEvent(const AtomicString& eventType, bool canBubbleArg, bool cancelableArg, EventTarget* relatedTarget, double platformTimeStamp, PassRefPtrWillBeRawPtr<AbstractView> viewArg, int detailArg, InputDeviceCapabilities* sourceCapabilitiesArg) |
+ : Event(eventType, canBubbleArg, cancelableArg, relatedTarget, platformTimeStamp) |
+ , m_view(viewArg) |
+ , m_detail(detailArg) |
+ , m_sourceCapabilities(sourceCapabilitiesArg) |
+{ |
+} |
+ |
UIEvent::UIEvent(const AtomicString& eventType, const UIEventInit& initializer) |
: Event(eventType, initializer) |
, m_view(initializer.view()) |