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

Unified Diff: Source/core/page/Settings.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/core/page/Frame.cpp ('k') | Source/core/page/Settings.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>*);
« no previous file with comments | « Source/core/page/Frame.cpp ('k') | Source/core/page/Settings.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698