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

Unified Diff: Source/web/PageScaleConstraintsSet.h

Issue 61593006: Zoom instead of autosizing for desktop sites. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add a test. Created 7 years, 1 month 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
« no previous file with comments | « no previous file | Source/web/PageScaleConstraintsSet.cpp » ('j') | Source/web/PageScaleConstraintsSet.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/PageScaleConstraintsSet.h
diff --git a/Source/web/PageScaleConstraintsSet.h b/Source/web/PageScaleConstraintsSet.h
index b31d4e4b1255ac4520697eb237b3a31a704f921e..cc98646b2c66e68dd92c9cabe71906ec2b9c3328 100644
--- a/Source/web/PageScaleConstraintsSet.h
+++ b/Source/web/PageScaleConstraintsSet.h
@@ -50,6 +50,7 @@ public:
const WebCore::PageScaleConstraints& pageDefinedConstraints() const { return m_pageDefinedConstraints; }
void updatePageDefinedConstraints(const WebCore::ViewportDescription&, WebCore::IntSize viewSize);
void adjustForAndroidWebViewQuirks(const WebCore::ViewportDescription&, WebCore::IntSize viewSize, int layoutFallbackWidth, float deviceScaleFactor, bool supportTargetDensityDPI, bool wideViewportQuirkEnabled, bool useWideViewport, bool loadWithOverviewMode, bool nonUserScalableQuirkEnabled);
+ void applyDeviceScaleAdjustment(const WebCore::ViewportDescription&, float deviceScaleAdjustment);
// Constraints may also be set from Chromium -- this overrides any
// page-defined values.
« no previous file with comments | « no previous file | Source/web/PageScaleConstraintsSet.cpp » ('j') | Source/web/PageScaleConstraintsSet.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698