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

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: Android stylesheet and fixes 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
Index: public/web/WebSettings.h
diff --git a/public/web/WebSettings.h b/public/web/WebSettings.h
index ff4d3710b20df27ecd08966f7108fb1081eeb7b7..63a8146dd485a92363f152a7740b9d6a00d85299 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 mainFrameResizesAreOrientationChanges() 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 setMainFrameResizesAreOrientationChanges(bool) = 0;
aelias_OOO_until_Jul13 2013/10/31 21:06:59 nit: place it in alphabetical order
bokan 2013/10/31 23:19:50 Done.
// DEPRECATED: Delete after Chromium-side calls deleted.
void setApplyPageScaleFactorInCompositor(bool enabled) { }
« Source/web/tests/data/fixed_layout.html ('K') | « Source/web/tests/data/no_viewport_tag.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698