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

Unified Diff: public/webview/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: Review Fixes 2 Created 7 years, 6 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/webview/WebSettings.h
diff --git a/public/webview/WebSettings.h b/public/webview/WebSettings.h
index 6854fb7194c762132426bad4d9cbc6acc2e6d8a7..8aaef9c0c52b628860013cdcffad9e7226053bfc 100644
--- a/public/webview/WebSettings.h
+++ b/public/webview/WebSettings.h
@@ -52,6 +52,8 @@ public:
EditingBehaviorAndroid
};
+ virtual bool layoutFallbackWidthIsWindowWidth() const = 0;
+ virtual bool resizeAffectsLayoutWidth() const = 0;
virtual bool scrollAnimatorEnabled() const = 0;
virtual bool touchEditingEnabled() const = 0;
virtual bool viewportEnabled() const = 0;
@@ -102,6 +104,7 @@ public:
virtual void setCSSStickyPositionEnabled(bool) = 0;
virtual void setExperimentalWebGLEnabled(bool) = 0;
virtual void setExperimentalWebSocketEnabled(bool) = 0;
+ virtual void setResizeAffectsLayoutWidth(bool) = 0;
virtual void setPinchVirtualViewportEnabled(bool) = 0;
virtual void setFantasyFontFamily(const WebString&, UScriptCode = USCRIPT_COMMON) = 0;
virtual void setFixedFontFamily(const WebString&, UScriptCode = USCRIPT_COMMON) = 0;
@@ -117,6 +120,7 @@ public:
virtual void setJavaScriptCanOpenWindowsAutomatically(bool) = 0;
virtual void setJavaScriptEnabled(bool) = 0;
virtual void setLayoutFallbackWidth(int) = 0;
+ virtual void setLayoutFallbackWidthIsWindowWidth(bool) = 0;
virtual void setLoadsImagesAutomatically(bool) = 0;
virtual void setLoadWithOverviewMode(bool) = 0;
virtual void setLocalStorageEnabled(bool) = 0;
« Source/WebKit/chromium/src/WebViewImpl.cpp ('K') | « Source/WebKit/chromium/src/WebViewImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698