diff options
author | George Mount <mount@google.com> | 2012-04-25 07:16:49 -0700 |
---|---|---|
committer | George Mount <mount@google.com> | 2012-04-25 10:55:16 -0700 |
commit | ab116239e825f4571a4665cee1f3cf92fd8d304c (patch) | |
tree | c3fd9fafa37cb607c7114111417f96e81d23f5b3 /Source/WebCore/html/RangeInputType.cpp | |
parent | 2ad54828a335c8e7337ab1f1077253689630a6d2 (diff) | |
download | external_webkit-ab116239e825f4571a4665cee1f3cf92fd8d304c.zip external_webkit-ab116239e825f4571a4665cee1f3cf92fd8d304c.tar.gz external_webkit-ab116239e825f4571a4665cee1f3cf92fd8d304c.tar.bz2 |
Make input="range" visible and react to touch events.
Bug 6257532
Change-Id: I1d1ae457c50fe5b9627df7edb4f11d8245b5bdbf
Diffstat (limited to 'Source/WebCore/html/RangeInputType.cpp')
-rw-r--r-- | Source/WebCore/html/RangeInputType.cpp | 16 |
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; |