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

Unified Diff: public/web/WebSettings.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, 2 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
« Source/web/WebViewImpl.cpp ('K') | « Source/web/WebViewImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebSettings.h
diff --git a/public/web/WebSettings.h b/public/web/WebSettings.h
index ff4d3710b20df27ecd08966f7108fb1081eeb7b7..8c7ee8f1fcb6c4f648e2da406dc60e89629cfbd8 100644
--- a/public/web/WebSettings.h
+++ b/public/web/WebSettings.h
@@ -55,6 +55,8 @@ public:
virtual bool scrollAnimatorEnabled() const = 0;
virtual bool touchEditingEnabled() const = 0;
virtual bool viewportEnabled() const = 0;
+ virtual bool viewportMetaEnabled() const = 0;
+ virtual bool scaleViewportOnResize() const = 0;
virtual void setAccelerated2dCanvasEnabled(bool) = 0;
virtual void setAccelerated2dCanvasMSAASampleCount(int) = 0;
virtual void setAcceleratedCompositingEnabled(bool) = 0;
@@ -181,6 +183,7 @@ public:
virtual void setUseWideViewport(bool) = 0;
virtual void setValidationMessageTimerMagnification(int) = 0;
virtual void setViewportEnabled(bool) = 0;
+ virtual void setViewportMetaEnabled(bool) = 0;
virtual void setViewportMetaLayoutSizeQuirk(bool) = 0;
virtual void setViewportMetaMergeContentQuirk(bool) = 0;
virtual void setViewportMetaZeroValuesQuirk(bool) = 0;
@@ -190,6 +193,7 @@ public:
virtual void setWebSecurityEnabled(bool) = 0;
virtual void setWideViewportQuirkEnabled(bool) = 0;
virtual void setXSSAuditorEnabled(bool) = 0;
+ virtual void setScaleViewportOnResize(bool) = 0;
// DEPRECATED: Delete after Chromium-side calls deleted.
void setApplyPageScaleFactorInCompositor(bool enabled) { }
« Source/web/WebViewImpl.cpp ('K') | « Source/web/WebViewImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698