| Index: third_party/WebKit/Source/core/events/TouchEvent.h
|
| diff --git a/third_party/WebKit/Source/core/events/TouchEvent.h b/third_party/WebKit/Source/core/events/TouchEvent.h
|
| index 1056138724d785d85b64e9bb025739aaff37f1b5..ff15e9938fb9e37e337ec7918778233c3da07cfc 100644
|
| --- a/third_party/WebKit/Source/core/events/TouchEvent.h
|
| +++ b/third_party/WebKit/Source/core/events/TouchEvent.h
|
| @@ -28,9 +28,10 @@
|
| #define TouchEvent_h
|
|
|
| #include "core/CoreExport.h"
|
| +#include "core/dom/TouchList.h"
|
| #include "core/events/EventDispatchMediator.h"
|
| #include "core/events/MouseRelatedEvent.h"
|
| -#include "core/dom/TouchList.h"
|
| +#include "core/events/TouchEventInit.h"
|
|
|
| namespace blink {
|
|
|
| @@ -54,6 +55,11 @@ public:
|
| modifiers, cancelable, causesScrollingIfUncanceled, uiCreateTime));
|
| }
|
|
|
| + static PassRefPtrWillBeRawPtr<TouchEvent> create(const AtomicString& type, const TouchEventInit& initializer)
|
| + {
|
| + return adoptRefWillBeNoop(new TouchEvent(type, initializer));
|
| + }
|
| +
|
| void initTouchEvent(ScriptState*, TouchList* touches, TouchList* targetTouches,
|
| TouchList* changedTouches, const AtomicString& type,
|
| PassRefPtrWillBeRawPtr<AbstractView>,
|
| @@ -87,6 +93,7 @@ private:
|
| PassRefPtrWillBeRawPtr<AbstractView>, PlatformEvent::Modifiers,
|
| bool cancelable, bool causesScrollingIfUncanceled,
|
| double uiCreateTime = 0);
|
| + TouchEvent(const AtomicString&, const TouchEventInit&);
|
|
|
| RefPtrWillBeMember<TouchList> m_touches;
|
| RefPtrWillBeMember<TouchList> m_targetTouches;
|
|
|