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

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: 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
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..f076de7ccb7905fcc4e048157e40f3505d0c8949 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;
+ // Enables the mode to use zoom to implement device scale factor.
+ virtual void enableUseZoomForDeviceScaleFactor() = 0;
+
// Set and reset the device color profile.
virtual void setDeviceColorProfile(const WebVector<char>&) = 0;
virtual void resetDeviceColorProfile() = 0;
« content/renderer/render_widget.cc ('K') | « third_party/WebKit/Source/web/WebViewImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698