зеркало из https://github.com/mozilla/gecko-dev.git
973c15735b
This provides feedback to the user, otherwise nothing happens and the user doesn't know if their input was accepted or not. This matches what Chrome does. We add a new flag for ZoomToRect that only double tap uses. We also need to add the cursor position to the ZoomTarget struct as that is what we will be zooming in on. (CalculateRectToZoomTo has a little bit of refactoring to calculate this point sooner and without an intermediate variable.) The rest of the patch is some logic in ZoomToRect to decide when to do this, and some math to compute the zoom to rect (which is similar to the zoom out code). Differential Revision: https://phabricator.services.mozilla.com/D116370 |
||
---|---|---|
.. | ||
APZInputBridge.h | ||
APZPublicUtils.h | ||
APZSampler.h | ||
APZUpdater.h | ||
CompositorController.h | ||
GeckoContentController.h | ||
GeckoContentControllerTypes.h | ||
IAPZCTreeManager.h | ||
MatrixMessage.h | ||
MetricsSharingController.h |