[Ozone-Drm] Scan for displays on browser size during startup
commit0e7b023c57f519dd76a8cc7fc92fca8fb266f3be
authordnicoara <dnicoara@chromium.org>
Thu, 14 May 2015 02:47:48 +0000 (13 19:47 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 14 May 2015 02:48:03 +0000 (14 02:48 +0000)
tree021b4e85414e9008634a7af8c85017ec77f95326
parent0e0e354f628d99f0f99099b1a7e0c4d2356e8caf
[Ozone-Drm] Scan for displays on browser size during startup

During startup, Chrome expects synchronous display configuration, so we
need to present the list of displays before we get a chance to connect
to the GPU process. This patch will populate a list of dummy displays on
startup and the platform will pretend it can configure them until the
connection to the GPU process is established.

BUG=484294

Review URL: https://codereview.chromium.org/1131813003

Cr-Commit-Position: refs/heads/master@{#329786}
ui/ozone/BUILD.gn
ui/ozone/common/display_util.cc
ui/ozone/common/display_util.h
ui/ozone/common/display_util_unittest.cc [deleted file]
ui/ozone/ozone.gyp
ui/ozone/platform/drm/host/drm_device_handle.h
ui/ozone/platform/drm/host/drm_display_host_manager.cc