gecko-dev/gfx/layers/apz
Kartikaya Gupta 85fd233d34 Bug 1250024 - Fix touch-tap event coordinate transformations when a fullzoom is applied. r=botond
There were a couple of problems when delivering tap gestures to content with
full zoom applied. One was that the ConverToGecko function converted the coords
into "CSS pixel" space by using the web content's CSS-to-LD scale, but also
applied that on the translation from the chrome area. Moving that conversion
to later in the process (after the coords got passed through TabParent::
AdjustTapToChildWidget) corrected that issue.

The other problem was that bits of code in APZEventState and APZCCallbackHelper
were using the widget->GetDefaultScale() value as the CSS-to-LD scale, but that
omitted the full zoom value. Getting the CSS-to-LD scale from the presShell and
propagating that through corrected that issue.

MozReview-Commit-ID: KdrkdEZslHo
2016-07-29 14:44:29 -04:00
..
public Bug 1250024 - Fix touch-tap event coordinate transformations when a fullzoom is applied. r=botond 2016-07-29 14:44:29 -04:00
src Bug 1250024 - Fix touch-tap event coordinate transformations when a fullzoom is applied. r=botond 2016-07-29 14:44:29 -04:00
test Bug 1250024 - Fix touch-tap event coordinate transformations when a fullzoom is applied. r=botond 2016-07-29 14:44:29 -04:00
testutil Bug 1262671 - void** -> PickleIterator (r=froydnj) 2016-05-27 09:57:38 -07:00
util Bug 1250024 - Fix touch-tap event coordinate transformations when a fullzoom is applied. r=botond 2016-07-29 14:44:29 -04:00