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

Unified Diff: Source/core/page/Settings.h

Issue 22747002: setViewportEnabled on InternalSettings (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Mac compile issue: removed unused member variable Created 7 years, 4 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 | « LayoutTests/fast/viewport/viewport-enabled-expected.txt ('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 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).
« no previous file with comments | « LayoutTests/fast/viewport/viewport-enabled-expected.txt ('k') | Source/core/page/Settings.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698