Mac: Make pinch less sensitive
Require a cumulative 40% zoom before forwarding a pinch to the renderer.
For the discrete browser zoom pre-M42, we required 60% (this code was
removed in https://codereview.chromium.org/
899283004).
If a zoom gesture (which crossed the 40% line) has occurred in the last
second, do not require the 40% threshold (since this is likely an effort
to re-zoom in).
Of note is that these percentages are additive (the sum of the
magnification factors), not multiplicative (the product of 1 plus the
magnification factors). This is to be consistent with the previous
zoom threshold code.
Also limit the maximum pinch-zoom level to 3x, since the full 4x is
rarely useful.
BUG=478981
Review URL: https://codereview.chromium.org/
1110253002
Cr-Commit-Position: refs/heads/master@{#327619}