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

Unified Diff: Source/web/ChromeClientImpl.cpp

Issue 889803004: Add touchpad pinch zoom support to Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Incorporate review feedback Created 5 years, 11 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/ChromeClientImpl.cpp
diff --git a/Source/web/ChromeClientImpl.cpp b/Source/web/ChromeClientImpl.cpp
index 0f36f758bda5900a1d208b698537399960b28487..521853860f5e206b2d031f47c79e2e535ff2097b 100644
--- a/Source/web/ChromeClientImpl.cpp
+++ b/Source/web/ChromeClientImpl.cpp
@@ -529,6 +529,11 @@ void ChromeClientImpl::pageScaleFactorChanged() const
m_webView->pageScaleFactorChanged();
}
+float ChromeClientImpl::clampPageScaleFactorToLimits(float scale) const
+{
+ return m_webView->clampPageScaleFactorToLimits(scale);
+}
+
void ChromeClientImpl::layoutUpdated(LocalFrame* frame) const
{
m_webView->layoutUpdated(WebLocalFrameImpl::fromFrame(frame));

Powered by Google App Engine
This is Rietveld 408576698