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

Unified Diff: third_party/WebKit/public/web/WebView.h

Issue 1412663005: Introduce painted-device-scale-factor and use it when --enable-use-zoom-for-dsf is specified. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: export switch, remove WebWidgetClient::deviceScaleFactor Created 5 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
« no previous file with comments | « third_party/WebKit/Source/web/WebViewImpl.cpp ('k') | third_party/WebKit/public/web/WebWidgetClient.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/web/WebView.h
diff --git a/third_party/WebKit/public/web/WebView.h b/third_party/WebKit/public/web/WebView.h
index ccd46ce923ab392a5ec3aa6c8e7f44ebcbcfe5de..9754f7f0bcc12842b6518cd507c46c0a5f8d7837 100644
--- a/third_party/WebKit/public/web/WebView.h
+++ b/third_party/WebKit/public/web/WebView.h
@@ -293,6 +293,9 @@ public:
// Sets the ratio as computed by computePageScaleConstraints.
virtual void setDeviceScaleFactor(float) = 0;
+ // Sets the additional zoom factor used for device scale factor.
Rick Byers 2015/10/30 17:50:10 Can you please elaborate in this (and/or above) co
oshima 2015/10/30 18:14:18 So the idea is to use zoom *mechanism* to implemen
Rick Byers 2015/10/30 19:03:21 Makes sense, thanks! WebKit/public/ LGTM
+ virtual void setZoomFactorForDeviceScaleFactor(float) = 0;
+
// Set and reset the device color profile.
virtual void setDeviceColorProfile(const WebVector<char>&) = 0;
virtual void resetDeviceColorProfile() = 0;
« no previous file with comments | « third_party/WebKit/Source/web/WebViewImpl.cpp ('k') | third_party/WebKit/public/web/WebWidgetClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698