• Julie Jeongeun Kim's avatar
    Move the APIs using XRANR to ui/base/x folder · e14722dd
    Julie Jeongeun Kim authored
    It creates x11_display_util.cc/h files and moves the APIs to
    get display information using XRANR from DesktopScreenX11 to
    share the implementation with Ozone/X11.
    
    'GetXrandrVersion' is to get xrandr version,
    'GetFallbackDisplayList' is to get a fallback display and
    'BuildDisplaysFromXRandRInfo' is to get a list of displays from
    the current screen.
    
    It also moves 'GetICCProfileForMonitor' from DesktopScreenX11
    to x11_util.cc.
    
    These APIs are required for Ozone/X11 as well. This change doesn't
    bring any behavioral changes.
    
    Bug: 891175
    Change-Id: Idb42b1929b7bfab4501ced4403fc176342ebdada
    Reviewed-on: https://chromium-review.googlesource.com/c/1295762
    Commit-Queue: Julie Jeongeun Kim <jkim@igalia.com>
    Reviewed-by: default avatarDan Erat <derat@chromium.org>
    Reviewed-by: default avatarThomas Anderson <thomasanderson@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#602634}
    e14722dd
desktop_screen_x11.h 3.7 KB