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}
Showing
ui/base/x/x11_display_util.h
0 → 100644
This diff is collapsed.
Please register or sign in to comment