Chromium Code Reviews| Index: Source/WebKit/chromium/public/WebSettings.h |
| diff --git a/Source/WebKit/chromium/public/WebSettings.h b/Source/WebKit/chromium/public/WebSettings.h |
| index d5a8bca8b0e296d4f1a71398c84d708abce35115..e48f4a80ac7771ad648da1f67c24eaefa02788ae 100644 |
| --- a/Source/WebKit/chromium/public/WebSettings.h |
| +++ b/Source/WebKit/chromium/public/WebSettings.h |
| @@ -52,6 +52,8 @@ public: |
| EditingBehaviorAndroid |
| }; |
| + virtual bool desktopViewportEnabled() const = 0; |
|
Rick Byers
2013/06/04 00:25:30
how does the semantics of this differ from viewpor
bokan
2013/06/04 18:52:16
desktopViewportEnabled turns on viewportEnabled bu
Rick Byers
2013/06/05 15:04:08
I think it's fine to treat rotation the same as no
bokan
2013/06/06 19:43:47
Changed it to resizeAffectsLayoutWidth
|
| + virtual bool deviceSupportsRotation() const = 0; |
| virtual bool scrollAnimatorEnabled() const = 0; |
| virtual bool touchEditingEnabled() const = 0; |
| virtual bool viewportEnabled() const = 0; |
| @@ -89,7 +91,9 @@ public: |
| virtual void setDefaultVideoPosterURL(const WebString&) = 0; |
| void setDeferred2dCanvasEnabled(bool) { } // temporary stub |
| virtual void setDeferredImageDecodingEnabled(bool) = 0; |
| + virtual void setDesktopViewportEnabled(bool) = 0; |
| virtual void setDeviceSupportsMouse(bool) = 0; |
| + virtual void setDeviceSupportsRotation(bool) = 0; |
| virtual void setDeviceSupportsTouch(bool) = 0; |
| virtual void setDoubleTapToZoomEnabled(bool) = 0; |
| virtual void setDownloadableBinaryFontsEnabled(bool) = 0; |