Description[UseZoomForDSF] Always use DIP coordinates in pepper plugin
Pepper API is device scale factor aware, so we need to convert the coordinates between viewport and DIP, when use-zoom-for-dsf mode is enabled.
* Convert events and bounds from the Viewport to DIP.
* Convert caret bounds from DIP to Viewport.
* Moved the utility function to scale WebInputEvent to ui/events/blink
This CL depends on https://codereview.chromium.org/1603253003/
BUG=485650
Committed: https://crrev.com/be76caa53f0ca1afbd65fcff6a2486e10895bd64
Cr-Commit-Position: refs/heads/master@{#371769}
Patch Set 1 #Patch Set 2 : #
Total comments: 12
Patch Set 3 : #
Total comments: 6
Patch Set 4 : #Patch Set 5 : rebase #Messages
Total messages: 30 (16 generated)
|