• Julie Jeongeun Kim's avatar
    Reland "Move the APIs using XRANR to ui/base/x folder" · be448bda
    Julie Jeongeun Kim authored
    This is a reland of e14722dd
    
    Original change's description:
    > Move the APIs using XRANR to ui/base/x folder
    > 
    > 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: Dan Erat <derat@chromium.org>
    > Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#602634}
    
    Bug: 891175
    Change-Id: I742eec8285b023adda84d28d68a21f7545a87f8c
    Reviewed-on: https://chromium-review.googlesource.com/c/1301036Reviewed-by: default avatarDan Erat <derat@chromium.org>
    Reviewed-by: default avatarThomas Anderson <thomasanderson@chromium.org>
    Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#603262}
    be448bda
x11_util.cc 50.8 KB