Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1172)

Unified Diff: Source/core/html/RangeInputType.cpp

Issue 14296003: Remove TOUCH_EVENTS and TOUCH_EVENT_TRACKING compile-time flags. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase. Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/html/RangeInputType.h ('k') | Source/core/inspector/InspectorPageAgent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/RangeInputType.cpp
diff --git a/Source/core/html/RangeInputType.cpp b/Source/core/html/RangeInputType.cpp
index cbd4c3ece319aa2e7bb5924c2ff7055ddca69b03..17500b1a88c025f74479d6d9e2b3ca8b0626d5c7 100644
--- a/Source/core/html/RangeInputType.cpp
+++ b/Source/core/html/RangeInputType.cpp
@@ -48,15 +48,12 @@
#include "ShadowRoot.h"
#include "SliderThumbElement.h"
#include "StepRange.h"
-#include <limits>
-#include <wtf/MathExtras.h>
-#include <wtf/PassOwnPtr.h>
-
-#if ENABLE(TOUCH_EVENTS)
#include "Touch.h"
#include "TouchEvent.h"
#include "TouchList.h"
-#endif
+#include <limits>
+#include <wtf/MathExtras.h>
+#include <wtf/PassOwnPtr.h>
#if ENABLE(DATALIST_ELEMENT)
#include "HTMLDataListElement.h"
@@ -167,7 +164,6 @@ void RangeInputType::handleMouseDownEvent(MouseEvent* event)
thumb->dragFrom(event->absoluteLocation());
}
-#if ENABLE(TOUCH_EVENTS)
void RangeInputType::handleTouchEvent(TouchEvent* event)
{
if (element()->isDisabledOrReadOnly())
@@ -191,7 +187,6 @@ bool RangeInputType::hasTouchEventHandler() const
{
return true;
}
-#endif
void RangeInputType::handleKeydownEvent(KeyboardEvent* event)
{
« no previous file with comments | « Source/core/html/RangeInputType.h ('k') | Source/core/inspector/InspectorPageAgent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698