• mukai@chromium.org's avatar
    Introduce user customization of external HighDPI mode for 4K monitor. · 7badf7f3
    mukai@chromium.org authored
    This CL adds the options of customizing external display's device
    scale factor from the options page. There are two TODOs though:
    - the configured device scale factor should be stored
    - not possible to specify device scale factor and resolution at the
      same time; from 1600x900, it can't enter to 1920x1080(2x). Instead
      it enters to 3840x2160, then the user needs to select 2x again.
    
    Actually the former would solve the latter; this CL sets the new
    resolution and the DSF at the same time but resolution change is
    asynchronous, so changed DSF will be overwritten by the resolution
    change.
    
    I will address these issues in further CL(s).
    
    BUG=396704
    R=oshima@chromium.org, stevenjb@chromium.org
    TBR=asvitkine@chromium.org
    TEST=manually
    
    Review URL: https://codereview.chromium.org/417113012
    
    git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287677 0039d316-1c4b-4281-b951-d872f2087c98
    7badf7f3
resolution_notification_controller_unittest.cc 15.1 KB