• Julie Jeongeun Kim's avatar
    [ozone/x11] Add initial X11ScreenOzone implementation · 24f9819d
    Julie Jeongeun Kim authored
    It adds X11ScreenOzone for PlatformScreen which has basic
    implementation.
    
    When it creates PlatformScreen for Ozone/X11, X11ScreenOzone
    is created and it creates X11DisplayFetcherOzone, which
    communicates with 'x11::xrandr'. The way to get display
    information in X11DisplayFetcherOzone is similar to
    DesktopScreenX11. Once it builds display information from
    'x11::xrandr', it adds the information to display list from
    X11ScreenOzone.
    
    This patch also moves 'GetICCProfileForMonitor' to x11_util.cc
    to share it with X11ScreenOzone.
    
    Bug: 891175
    Test: ozone_x11_unittests
    Change-Id: I2d901f72ca2d9609ef19eef7da35bf99aec62d2a
    Reviewed-on: https://chromium-review.googlesource.com/c/1293290Reviewed-by: default avatarkylechar <kylechar@chromium.org>
    Reviewed-by: default avatarDan Erat <derat@chromium.org>
    Commit-Queue: Julie Jeongeun Kim <jkim@igalia.com>
    Cr-Commit-Position: refs/heads/master@{#604826}
    24f9819d
BUILD.gn 2.22 KB