Update overlay info and DxDiag when the display changes

When a monitor is unplugged or plugged in, update the overlay info and
DxDiag. The overlay is now separated from GPU info so it can be updated
alone.

Bug: 1042989
Change-Id: I699a67a3275315d83017a1069b07f28cf85924b6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2020611
Commit-Queue: Maggie Chen <[email protected]>
Reviewed-by: Daniel Cheng <[email protected]>
Reviewed-by: Khushal <[email protected]>
Reviewed-by: Kenneth Russell <[email protected]>
Cr-Commit-Position: refs/heads/master@{#740053}
diff --git a/components/viz/host/gpu_host_impl.cc b/components/viz/host/gpu_host_impl.cc
index 69c0e62..e2fe9bb 100644
--- a/components/viz/host/gpu_host_impl.cc
+++ b/components/viz/host/gpu_host_impl.cc
@@ -504,6 +504,10 @@
 }
 
 #if defined(OS_WIN)
+void GpuHostImpl::DidUpdateOverlayInfo(const gpu::OverlayInfo& overlay_info) {
+  delegate_->DidUpdateOverlayInfo(overlay_info);
+}
+
 void GpuHostImpl::SetChildSurface(gpu::SurfaceHandle parent,
                                   gpu::SurfaceHandle child) {
   if (pid_ != base::kNullProcessId) {