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

Unified Diff: Source/web/WebSettingsImpl.cpp

Issue 49913005: Add Settings::deviceScaleAdjustment. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Address review comments. Created 7 years, 2 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/web/WebSettingsImpl.cpp
diff --git a/Source/web/WebSettingsImpl.cpp b/Source/web/WebSettingsImpl.cpp
index 0136af0893752817909485780592381e1e48569c..4b29790e45a2460e75d1431093cfe04a1eb8b62c 100644
--- a/Source/web/WebSettingsImpl.cpp
+++ b/Source/web/WebSettingsImpl.cpp
@@ -157,6 +157,11 @@ void WebSettingsImpl::setTextAutosizingFontScaleFactor(float fontScaleFactor)
m_settings->setTextAutosizingFontScaleFactor(fontScaleFactor);
}
+void WebSettingsImpl::setDeviceScaleAdjustment(float deviceScaleAdjustment)
+{
+ m_settings->setDeviceScaleAdjustment(deviceScaleAdjustment);
+}
+
void WebSettingsImpl::setDefaultTextEncodingName(const WebString& encoding)
{
m_settings->setDefaultTextEncodingName((String)encoding);

Powered by Google App Engine
This is Rietveld 408576698