diff options
Diffstat (limited to 'Source/WebCore/html/shadow/SliderThumbElement.h')
-rw-r--r-- | Source/WebCore/html/shadow/SliderThumbElement.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/WebCore/html/shadow/SliderThumbElement.h b/Source/WebCore/html/shadow/SliderThumbElement.h index 2fa60cb..47e12f1 100644 --- a/Source/WebCore/html/shadow/SliderThumbElement.h +++ b/Source/WebCore/html/shadow/SliderThumbElement.h @@ -44,6 +44,9 @@ class HTMLElement; class HTMLInputElement; class Event; class FloatPoint; +#if PLATFORM(ANDROID) && ENABLE(TOUCH_EVENTS) +class SliderTouchEventListener; +#endif class SliderThumbElement : public HTMLDivElement { public: @@ -54,6 +57,9 @@ public: void dragFrom(const IntPoint&); virtual void defaultEventHandler(Event*); +#if PLATFORM(ANDROID) && ENABLE(TOUCH_EVENTS) + virtual void attach(); +#endif virtual void detach(); virtual const AtomicString& shadowPseudoId() const; @@ -67,6 +73,10 @@ private: FloatPoint m_offsetToThumb; bool m_inDragMode; +#if PLATFORM(ANDROID) && ENABLE(TOUCH_EVENTS) + RefPtr<EventListener> m_touchListener; + friend class SliderTouchEventListener; +#endif }; inline SliderThumbElement::SliderThumbElement(Document* document) |