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

Unified Diff: Source/bindings/v8/RuntimeEnabledFeatures.h

Issue 14296003: Remove TOUCH_EVENTS and TOUCH_EVENT_TRACKING compile-time flags. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
Index: Source/bindings/v8/RuntimeEnabledFeatures.h
diff --git a/Source/bindings/v8/RuntimeEnabledFeatures.h b/Source/bindings/v8/RuntimeEnabledFeatures.h
index 2f16851211540998e8e322d982c8143efdd772ef..011fa4883232ad81698f93205cf8e4d9f29a10e7 100644
--- a/Source/bindings/v8/RuntimeEnabledFeatures.h
+++ b/Source/bindings/v8/RuntimeEnabledFeatures.h
@@ -135,10 +135,8 @@ public:
static bool webkitOfflineAudioContextEnabled() { return isWebAudioEnabled; }
#endif
-#if ENABLE(TOUCH_EVENTS)
static bool touchEnabled() { return isTouchEnabled; }
static void setTouchEnabled(bool isEnabled) { isTouchEnabled = isEnabled; }
-#endif
static void setDeviceMotionEnabled(bool isEnabled) { isDeviceMotionEnabled = isEnabled; }
static bool deviceMotionEnabled() { return isDeviceMotionEnabled; }

Powered by Google App Engine
This is Rietveld 408576698