summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/html/RangeInputType.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/html/RangeInputType.cpp')
-rw-r--r--Source/WebCore/html/RangeInputType.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/Source/WebCore/html/RangeInputType.cpp b/Source/WebCore/html/RangeInputType.cpp
index 783eabc..88563c7 100644
--- a/Source/WebCore/html/RangeInputType.cpp
+++ b/Source/WebCore/html/RangeInputType.cpp
@@ -199,22 +199,6 @@ void RangeInputType::handleKeydownEvent(KeyboardEvent* event)
event->setDefaultHandled();
}
-#if PLATFORM(ANDROID) && ENABLE(TOUCH_EVENTS)
-void RangeInputType::handleTouchStartEvent(TouchEvent* touchEvent)
-{
- if (SliderThumbElement* thumb = shadowSliderThumb()) {
- if (touchEvent->touches() && touchEvent->touches()->item(0)) {
- IntPoint curPoint;
- curPoint.setX(touchEvent->touches()->item(0)->pageX());
- curPoint.setY(touchEvent->touches()->item(0)->pageY());
- thumb->dragFrom(curPoint);
- touchEvent->setDefaultHandled();
- touchEvent->setDefaultPrevented(true);
- }
- }
-}
-#endif
-
void RangeInputType::createShadowSubtree()
{
ExceptionCode ec = 0;