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

Unified Diff: Source/WebKit/chromium/src/WebRuntimeFeatures.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/WebKit/chromium/src/WebPopupMenuImpl.cpp ('k') | Source/bindings/v8/RuntimeEnabledFeatures.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebKit/chromium/src/WebRuntimeFeatures.cpp
diff --git a/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp b/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp
index 684ffb44be0eedb30ea410e7950f7b7c6e6b3ee5..b4ae6edf3a020f43f5cd328613a144c5ffa31a66 100644
--- a/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp
+++ b/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp
@@ -184,18 +184,12 @@ bool WebRuntimeFeatures::isWebAudioEnabled()
void WebRuntimeFeatures::enableTouch(bool enable)
{
-#if ENABLE(TOUCH_EVENTS)
RuntimeEnabledFeatures::setTouchEnabled(enable);
-#endif
}
bool WebRuntimeFeatures::isTouchEnabled()
{
-#if ENABLE(TOUCH_EVENTS)
return RuntimeEnabledFeatures::touchEnabled();
-#else
- return false;
-#endif
}
void WebRuntimeFeatures::enableDeviceMotion(bool enable)
« no previous file with comments | « Source/WebKit/chromium/src/WebPopupMenuImpl.cpp ('k') | Source/bindings/v8/RuntimeEnabledFeatures.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698