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

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: Update tests Created 5 years, 10 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 7352ba76f15868e74bc845aa729f4e2571fbab84..aeb7cb589e3819c66c5f41575fb4089b3c9fe137 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