| Index: third_party/WebKit/Source/core/html/shadow/SliderThumbElement.h
|
| diff --git a/third_party/WebKit/Source/core/html/shadow/SliderThumbElement.h b/third_party/WebKit/Source/core/html/shadow/SliderThumbElement.h
|
| index ef06fa4719a2c66637f14f0da3b8ce1f9fd0edb4..b3225e0af5651b2f5860cb59d6069c1045c25a6e 100644
|
| --- a/third_party/WebKit/Source/core/html/shadow/SliderThumbElement.h
|
| +++ b/third_party/WebKit/Source/core/html/shadow/SliderThumbElement.h
|
| @@ -80,12 +80,31 @@ DEFINE_ELEMENT_TYPE_CASTS(SliderThumbElement, isHTMLElement());
|
|
|
| class SliderContainerElement final : public HTMLDivElement {
|
| public:
|
| + enum Direction {
|
| + Horizontal,
|
| + Vertical,
|
| + NoMove,
|
| + };
|
| +
|
| DECLARE_NODE_FACTORY(SliderContainerElement);
|
| + HTMLInputElement* hostInput() const;
|
| + void defaultEventHandler(Event*) override;
|
| + void handleTouchEvent(TouchEvent*);
|
| + void updateTouchEventHandlerRegistry();
|
| + void didMoveToNewDocument(Document&) override;
|
| + void removeAllEventListeners() override;
|
|
|
| private:
|
| explicit SliderContainerElement(Document&);
|
| LayoutObject* createLayoutObject(const ComputedStyle&) override;
|
| const AtomicString& shadowPseudoId() const override;
|
| + Direction getDirection(LayoutPoint&, LayoutPoint&);
|
| + bool canSlide();
|
| +
|
| + bool m_hasTouchEventHandler;
|
| + bool m_touchStarted;
|
| + Direction m_slidingDirection;
|
| + LayoutPoint m_startPoint;
|
| };
|
|
|
| } // namespace blink
|
|
|