| Index: third_party/WebKit/Source/web/WebViewImpl.h
|
| diff --git a/third_party/WebKit/Source/web/WebViewImpl.h b/third_party/WebKit/Source/web/WebViewImpl.h
|
| index cbf00bed5b40402b07f6d1a4c8455f616e04fe59..281de30e5260f2284c800fc40fdaa867a0eb12c6 100644
|
| --- a/third_party/WebKit/Source/web/WebViewImpl.h
|
| +++ b/third_party/WebKit/Source/web/WebViewImpl.h
|
| @@ -210,6 +210,8 @@ public:
|
|
|
| float deviceScaleFactor() const override;
|
| void setDeviceScaleFactor(float) override;
|
| + void enableUseZoomForDeviceScaleFactor() override;
|
| +
|
| void setDeviceColorProfile(const WebVector<char>&) override;
|
| void resetDeviceColorProfile() override;
|
|
|
| @@ -652,6 +654,13 @@ private:
|
|
|
| double m_maximumZoomLevel;
|
|
|
| + // Additional zoom factor used to scale the content by device scale factor.
|
| + double m_zoomFactorForDeviceScaleFactor;
|
| +
|
| + // TODO(oshima): Remove this parameter once the DSF implemation is fully
|
| + // migrated to use Zoom.
|
| + bool m_useZoomForDeviceScaleFactor;
|
| +
|
| // This value, when multiplied by the font scale factor, gives the maximum
|
| // page scale that can result from automatic zooms.
|
| float m_maximumLegibleScale;
|
|
|