Chromium Code Reviews| Index: Source/web/WebSettingsImpl.h |
| diff --git a/Source/web/WebSettingsImpl.h b/Source/web/WebSettingsImpl.h |
| index 7a3731b0ab323dd866070e22bd85b416c59c5f21..00be199156b1cc47d2e8f7d7f5e65d117db7d1b1 100644 |
| --- a/Source/web/WebSettingsImpl.h |
| +++ b/Source/web/WebSettingsImpl.h |
| @@ -48,6 +48,8 @@ public: |
| virtual bool scrollAnimatorEnabled() const; |
| virtual bool touchEditingEnabled() const; |
| virtual bool viewportEnabled() const; |
| + virtual bool viewportMetaEnabled() const; |
| + virtual bool scaleViewportOnResize() const; |
| virtual void setAccelerated2dCanvasEnabled(bool); |
| virtual void setAccelerated2dCanvasMSAASampleCount(int); |
| virtual void setAcceleratedCompositingEnabled(bool); |
| @@ -170,6 +172,7 @@ public: |
| virtual void setUseWideViewport(bool); |
| virtual void setValidationMessageTimerMagnification(int); |
| virtual void setViewportEnabled(bool); |
| + virtual void setViewportMetaEnabled(bool); |
| virtual void setViewportMetaLayoutSizeQuirk(bool); |
| virtual void setViewportMetaMergeContentQuirk(bool); |
| virtual void setViewportMetaZeroValuesQuirk(bool); |
| @@ -178,6 +181,7 @@ public: |
| virtual void setWebSecurityEnabled(bool); |
| virtual void setWideViewportQuirkEnabled(bool); |
| virtual void setXSSAuditorEnabled(bool); |
| + virtual void setScaleViewportOnResize(bool); |
|
aelias_OOO_until_Jul13
2013/10/25 04:10:08
How about setMainFrameResizesAreOrientationChanges
bokan
2013/10/25 17:19:38
SGTM
|
| // FIXME: Make chromium stop calling this and delete the method. |
| virtual void setVisualWordMovementEnabled(bool) { } |
| @@ -209,6 +213,7 @@ private: |
| // can be removed any time after 2015. See http://crbug.com/277369. |
| bool m_viewportMetaLayoutSizeQuirk; |
| int m_pinchOverlayScrollbarThickness; |
| + bool m_scaleViewportOnResize; |
| }; |
| } // namespace WebKit |