| Index: Source/core/frame/PinchViewport.h
|
| diff --git a/Source/core/frame/PinchViewport.h b/Source/core/frame/PinchViewport.h
|
| index 8964414e718352c2d1759fd1faa3431af5680b42..ea3ea1a1534b726a6a046c558b469d4dedab3d7d 100644
|
| --- a/Source/core/frame/PinchViewport.h
|
| +++ b/Source/core/frame/PinchViewport.h
|
| @@ -106,6 +106,11 @@ public:
|
| void setScale(float);
|
| float scale() const { return m_scale; }
|
|
|
| + // Update scale factor, magnifying or minifying by magnifyDelta, centered around
|
| + // the point specified by anchor in window coordinates. Returns false if page
|
| + // scale factor is left unchanged.
|
| + bool magnifyScaleAroundAnchor(float magnifyDelta, const FloatPoint& anchor);
|
| +
|
| void registerLayersWithTreeView(blink::WebLayerTreeView*) const;
|
| void clearLayersForTreeView(blink::WebLayerTreeView*) const;
|
|
|
|
|