• wez@chromium.org's avatar
    Fix PepperView handling of 1:1 high-DPI. · 77faf5b9
    wez@chromium.org authored
    The special-case handling for displaying the host desktop at 1:1
    in high-DPI added in r174845 incorrectly handles mapping of the
    clip rect from DIPs to client plugin output coordinates.
    
    This CL re-names the various size and scale members to make a
    clearer distinction between DIP, device and (client plugin) view
    coordinates, and corrects the clip rect logic.
    
    BUG=163228,168440
    TEST=Connect high-DPI client to Chromoting host, switch to Original Size, and configure host to be larger than the client. Scroll around the host desktop and verify that all contents update correctly, e.g. while a video is played in a maximized window.
    
    Review URL: https://chromiumcodereview.appspot.com/11782016
    
    git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175988 0039d316-1c4b-4281-b951-d872f2087c98
    77faf5b9
pepper_view.h 4.76 KB