Index: Source/core/page/Settings.h |
diff --git a/Source/core/page/Settings.h b/Source/core/page/Settings.h |
index b8ad9e7d52820fb3c73a016a66e7bd861b039f6b..9fe3bfa6d61666771c3ba92e53a21f07be7ad60e 100644 |
--- a/Source/core/page/Settings.h |
+++ b/Source/core/page/Settings.h |
@@ -151,6 +151,9 @@ public: |
void setOpenGLMultisamplingEnabled(bool flag); |
bool openGLMultisamplingEnabled(); |
+ void setViewportEnabled(bool); |
+ bool viewportEnabled() const { return m_viewportEnabled; } |
+ |
// FIXME: This is a temporary flag and should be removed once accelerated |
// overflow scroll is ready (crbug.com/254111). |
void setCompositorDrivenAcceleratedScrollingEnabled(bool enabled) { m_compositorDrivenAcceleratedScrollingEnabled = enabled; } |
@@ -189,6 +192,7 @@ private: |
bool m_touchEventEmulationEnabled : 1; |
bool m_openGLMultisamplingEnabled : 1; |
+ bool m_viewportEnabled : 1; |
// FIXME: This is a temporary flag and should be removed once accelerated |
// overflow scroll is ready (crbug.com/254111). |