| Index: Source/web/WebSettingsImpl.h
|
| diff --git a/Source/web/WebSettingsImpl.h b/Source/web/WebSettingsImpl.h
|
| index 6c0d2521b99f90a990ba8c5ee6f9dbe51191d845..0206df9301a100e08cfce56b5bdbdab8cd0c8e8c 100644
|
| --- a/Source/web/WebSettingsImpl.h
|
| +++ b/Source/web/WebSettingsImpl.h
|
| @@ -165,6 +165,7 @@ public:
|
| virtual void setUseWideViewport(bool);
|
| virtual void setValidationMessageTimerMagnification(int);
|
| virtual void setViewportEnabled(bool);
|
| + virtual void setViewportMetaLayoutSizeQuirk(bool);
|
| virtual void setVisualWordMovementEnabled(bool);
|
| virtual void setWebAudioEnabled(bool);
|
| virtual void setWebGLErrorsToConsoleEnabled(bool);
|
| @@ -179,6 +180,7 @@ public:
|
| bool doubleTapToZoomEnabled() const { return m_doubleTapToZoomEnabled; }
|
| bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; }
|
| bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedTargetDensityDPI; }
|
| + bool viewportMetaLayoutSizeQuirk() const { return m_viewportMetaLayoutSizeQuirk; }
|
| int pinchOverlayScrollbarThickness() const { return m_pinchOverlayScrollbarThickness; }
|
|
|
| private:
|
| @@ -192,6 +194,10 @@ private:
|
| bool m_doubleTapToZoomEnabled;
|
| bool m_perTilePaintingEnabled;
|
| bool m_supportDeprecatedTargetDensityDPI;
|
| + // This quirk is to maintain compatibility with Android apps built on
|
| + // the Android SDK prior to and including version 18. Presumably, this
|
| + // can be removed any time after 2015. See http://crbug.com/277369.
|
| + bool m_viewportMetaLayoutSizeQuirk;
|
| int m_pinchOverlayScrollbarThickness;
|
| };
|
|
|
|
|