Chromium Code Reviews| Index: Source/web/WebViewImpl.cpp |
| diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp |
| index 537ec2ece4d68f730694ef892c1ef33659abae53..eaa9883b235c495dfb481941c4d887a4dcc32097 100644 |
| --- a/Source/web/WebViewImpl.cpp |
| +++ b/Source/web/WebViewImpl.cpp |
| @@ -2183,6 +2183,9 @@ bool WebViewImpl::handleInputEvent(const WebInputEvent& inputEvent) |
| if (handleSyntheticWheelFromTouchpadPinchEvent(pinchEvent)) |
| return true; |
| + if (pinchEvent.data.pinchUpdate.zoomDisabled) |
| + return false; |
|
ccameron
2015/05/06 03:48:32
Testing for this requires event sender support fro
|
| + |
| if (page()->frameHost().pinchViewport().magnifyScaleAroundAnchor(pinchEvent.data.pinchUpdate.scale, FloatPoint(pinchEvent.x, pinchEvent.y))) |
| return true; |
| } |