Chromium Code Reviews
DescriptionAdd methods to GPU extensions to precisely determine visual viewport properties.
Gesture code in telemetry relies on the ability to calculate the bounding rect
of an element within the visual viewport. It's currently incorrect because it
doesn't have enough information to be able to calculate that. Namely, it needs
to know the visual viewport's offset within the layout viewport. I've also
added an explicit method for getting the page scale factor. Telemetry code
currently uses window.outerWidth / window.innerWidth which *mostly* works but
is a roundabout hack and has some edge cases.
BUG=564008
Committed: https://crrev.com/7ef0e8bf2f09d4b2cbae994a944c99ac0eba56a7
Cr-Commit-Position: refs/heads/master@{#385894}
Patch Set 1 #
Messages
Total messages: 15 (8 generated)
|
||||||||||||||||||||||||||||