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

Unified Diff: Source/core/page/ChromeClient.h

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/core/page/ChromeClient.h
diff --git a/Source/core/page/ChromeClient.h b/Source/core/page/ChromeClient.h
index 75d2c847ad44f44e9a82b5acf4c46f0acada7421..96fa9428c63e5cb7aac5679bfeae0abc613236ad 100644
--- a/Source/core/page/ChromeClient.h
+++ b/Source/core/page/ChromeClient.h
@@ -145,6 +145,7 @@ public:
virtual void contentsSizeChanged(LocalFrame*, const IntSize&) const = 0;
virtual void pageScaleFactorChanged() const { }
+ virtual float clampPageScaleFactorToLimits(float scale) const { return scale; }
virtual void layoutUpdated(LocalFrame*) const { }
virtual void mouseDidMoveOverElement(const HitTestResult&) = 0;

Powered by Google App Engine
This is Rietveld 408576698