DescriptionUse the win32 device scale factor in Chrome ASH on Windows.
The WinRT interfaces seem to be giving us the wrong values in metro mode. On Windows 8
the IDisplayProperties interface always gives us 100% for the scale factor and a dpi of 96.
On 8.1 it reports incorrect scale factors which cause the content to be displayed shrunk.
Fix is to use the win32 scale factor in ASH and convert the input coordinates to DIP correctly
before passing them to chrome. We also convert the width and height of the window to pixels
using the win32 scale factor before initializing the direct3d swap chain.
BUG=376529
R=cpu
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273605
Patch Set 1 #Patch Set 2 : Removed include #
Total comments: 2
Patch Set 3 : Presubmit warnings #
Messages
Total messages: 13 (0 generated)
|