gecko-dev/mobile
Jim Chen 0c82587e52 Bug 1416319 - 7. Don't expose viewport metrics from LayerSession; r=rbarker
Provide a set of coordinates APIs in LayerSession instead of exposing
the raw viewport metrics, which are hard to use. This also lets us
remove ImmutableViewportMetrics completely.

The new APIs provide rectangular bounds in client or surface
coordinates, and matrices to transform those coordinates to screen
coordinates. This is done because the transformation to screen
coordinates could (in the future) involve skew, rotation, etc, so it's
up to the application to decide how to handle non-rectangular screen
bounds.

MozReview-Commit-ID: 8Yw8L63TmrQ

--HG--
extra : rebase_source : 76954d32da9fb8435ec68ea53b6dc618f8cb0121
2017-11-22 14:12:23 -05:00
..
android Bug 1416319 - 7. Don't expose viewport metrics from LayerSession; r=rbarker 2017-11-22 14:12:23 -05:00
locales Bug 1408044 - stop trying to localize the toolkit about.dtd file in mobile code, r=nalexander 2017-11-15 14:28:10 +00:00