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

Unified Diff: Source/WebKit/chromium/public/WebSettings.h

Issue 15927026: Enabled using viewport on desktop browsers behind experimental flag (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 7 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: 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;
« no previous file with comments | « no previous file | Source/WebKit/chromium/src/WebSettingsImpl.h » ('j') | Source/WebKit/chromium/src/WebViewImpl.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698