DescriptionProperly scale the coordinate for TouchSelection when use-zoom-for-dsf mode is on.
* The selection bounds is sent as a part of meta data.
painted_dsf is set to 2x on 2x device when use-zoom-for-dsf mode is on.
* The bounds sent from browser is in Window coordinates. It should be converted to Viweport, which is pixels when use-zoom-for-dsf mode is on.
BUG=585043
TEST=LayerTreeHostimplTestWithPaintedDeviceScaleFactor.SelectionBoundsPassedToCompositorFrameMetaData
manually tested on high DPI device
TBR=oshima@chromium.org
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #Patch Set 4 : #Patch Set 5 : #Patch Set 6 : #Patch Set 7 : #
Total comments: 2
Messages
Total messages: 28 (15 generated)
|