Express the last scroll offset in DIPs.
The RWHVAura::GetLastScrollOffset() method should return values in view coordinates (device independent pixels) as do other implementations of RWHV. When zoom-for-DSF is enabled the coordinates from compositor are expressed in pixel coordinates which are different from view coordinates on HiDPI screens. Therefore the last_scroll_offset_ value needs to be scaled to view coordinates BUG: 778228 Change-Id: Ic8da1fdbf821d0073fb2a22a75ecbc40441ce00e Reviewed-on: https://chromium-review.googlesource.com/610148 Commit-Queue: David Bokan <bokan@chromium.org> Reviewed-by:Sadrul Chowdhury <sadrul@chromium.org> Reviewed-by:
David Bokan <bokan@chromium.org> Reviewed-by:
Mitsuru Oshima <oshima@chromium.org> Cr-Commit-Position: refs/heads/master@{#512549}
Showing
Please register or sign in to comment