Index: Source/core/page/Settings.h |
diff --git a/Source/core/page/Settings.h b/Source/core/page/Settings.h |
index 2d2a7131344fba9d811b4261baf755d5abe55574..65a9bafd1ee91e5a419b87ea134b99ca7b635e5c 100644 |
--- a/Source/core/page/Settings.h |
+++ b/Source/core/page/Settings.h |
@@ -180,8 +180,10 @@ namespace WebCore { |
static void setUsesOverlayScrollbars(bool flag); |
static bool usesOverlayScrollbars(); |
+#if ENABLE(TOUCH_EVENTS) |
void setTouchEventEmulationEnabled(bool enabled) { m_touchEventEmulationEnabled = enabled; } |
bool isTouchEventEmulationEnabled() const { return m_touchEventEmulationEnabled; } |
+#endif |
private: |
explicit Settings(Page*); |
@@ -218,7 +220,9 @@ namespace WebCore { |
bool m_cssVariablesEnabled : 1; |
bool m_dnsPrefetchingEnabled : 1; |
+#if ENABLE(TOUCH_EVENTS) |
bool m_touchEventEmulationEnabled : 1; |
+#endif |
Timer<Settings> m_setImageLoadingSettingsTimer; |
void imageLoadingSettingsTimerFired(Timer<Settings>*); |