| Index: Source/core/events/PointerEvent.cpp
|
| diff --git a/Source/core/events/PointerEvent.cpp b/Source/core/events/PointerEvent.cpp
|
| index 3cfe5e0c6645a3ab36520117c1dcba83b753d19e..b37312d82384ad1e5f5b5315e82acc25435cafdb 100644
|
| --- a/Source/core/events/PointerEvent.cpp
|
| +++ b/Source/core/events/PointerEvent.cpp
|
| @@ -3,8 +3,11 @@
|
| // found in the LICENSE file.
|
|
|
| #include "config.h"
|
| +
|
| #include "core/events/PointerEvent.h"
|
|
|
| +#include "core/events/EventDispatcher.h"
|
| +
|
| namespace blink {
|
|
|
| PointerEvent::PointerEvent()
|
| @@ -56,4 +59,25 @@ DEFINE_TRACE(PointerEvent)
|
| MouseEvent::trace(visitor);
|
| }
|
|
|
| +PassRefPtrWillBeRawPtr<PointerEventDispatchMediator> PointerEventDispatchMediator::create(PassRefPtrWillBeRawPtr<PointerEvent> pointerEvent)
|
| +{
|
| + return adoptRefWillBeNoop(new PointerEventDispatchMediator(pointerEvent));
|
| +}
|
| +
|
| +PointerEventDispatchMediator::PointerEventDispatchMediator(PassRefPtrWillBeRawPtr<PointerEvent> pointerEvent)
|
| + : EventDispatchMediator(pointerEvent)
|
| +{
|
| +}
|
| +
|
| +PointerEvent& PointerEventDispatchMediator::event() const
|
| +{
|
| + return toPointerEvent(EventDispatchMediator::event());
|
| +}
|
| +
|
| +bool PointerEventDispatchMediator::dispatchEvent(EventDispatcher& dispatcher) const
|
| +{
|
| + fprintf(stderr, "mDebug %s:%d\n", __FILE__, __LINE__);
|
| + return dispatcher.dispatch();
|
| +}
|
| +
|
| } // namespace blink
|
|
|