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

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

Issue 14280004: Revert removal of events (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
« no previous file with comments | « Source/WebKit/chromium/src/WebRuntimeFeatures.cpp ('k') | Source/bindings/v8/custom/V8DocumentCustom.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/v8/RuntimeEnabledFeatures.h
diff --git a/Source/bindings/v8/RuntimeEnabledFeatures.h b/Source/bindings/v8/RuntimeEnabledFeatures.h
index 8fa100f2659a04328ad9ededcf786cf1d7c65495..3f7c2614931874408c2cbcda38cf431cd0d40820 100644
--- a/Source/bindings/v8/RuntimeEnabledFeatures.h
+++ b/Source/bindings/v8/RuntimeEnabledFeatures.h
@@ -130,8 +130,10 @@ public:
static void setWebMIDIEnabled(bool isEnabled) { isWebMIDIEnabled = isEnabled; }
static bool webMIDIEnabled() { return isWebMIDIEnabled; }
+#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; }
« no previous file with comments | « Source/WebKit/chromium/src/WebRuntimeFeatures.cpp ('k') | Source/bindings/v8/custom/V8DocumentCustom.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698