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

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

Issue 40423003: Experimental viewport meta tag support for desktop, Blink-side. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 1 month 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
Index: Source/core/page/Settings.h
diff --git a/Source/core/page/Settings.h b/Source/core/page/Settings.h
index 86bfa9f8b4438a5476fc01ba10ec7ebb2f1025ba..2e492b1451bb1a9bf242f752c41250570fc74701 100644
--- a/Source/core/page/Settings.h
+++ b/Source/core/page/Settings.h
@@ -154,6 +154,14 @@ public:
void setViewportEnabled(bool);
bool viewportEnabled() const { return m_viewportEnabled; }
+ void setViewportMetaEnabled(bool);
+ bool viewportMetaEnabled() const
+ {
+ // FIXME: Remove and uncomment once chromium side changes land
+ return true;
+ // return m_viewportMetaEnabled;
+ }
+
// 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; }
@@ -192,6 +200,7 @@ private:
bool m_touchEventEmulationEnabled : 1;
bool m_openGLMultisamplingEnabled : 1;
bool m_viewportEnabled : 1;
+ bool m_viewportMetaEnabled : 1;
// FIXME: This is a temporary flag and should be removed once accelerated
// overflow scroll is ready (crbug.com/254111).

Powered by Google App Engine
This is Rietveld 408576698