| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "ui/ozone/platform/drm/host/drm_display_host_manager.h" | 5 #include "ui/ozone/platform/drm/host/drm_display_host_manager.h" |
| 6 | 6 |
| 7 #include <fcntl.h> | 7 #include <fcntl.h> |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <xf86drm.h> | 9 #include <xf86drm.h> |
| 10 | 10 |
| 11 #include <utility> | 11 #include <utility> |
| 12 | 12 |
| 13 #include "base/files/file_path.h" | 13 #include "base/files/file_path.h" |
| 14 #include "base/files/file_util.h" | 14 #include "base/files/file_util.h" |
| 15 #include "base/memory/ptr_util.h" | 15 #include "base/memory/ptr_util.h" |
| 16 #include "base/strings/stringprintf.h" | 16 #include "base/strings/stringprintf.h" |
| 17 #include "base/thread_task_runner_handle.h" | |
| 18 #include "base/threading/thread_restrictions.h" | 17 #include "base/threading/thread_restrictions.h" |
| 18 #include "base/threading/thread_task_runner_handle.h" |
| 19 #include "base/threading/worker_pool.h" | 19 #include "base/threading/worker_pool.h" |
| 20 #include "ui/display/types/display_snapshot.h" | 20 #include "ui/display/types/display_snapshot.h" |
| 21 #include "ui/events/ozone/device/device_event.h" | 21 #include "ui/events/ozone/device/device_event.h" |
| 22 #include "ui/events/ozone/device/device_manager.h" | 22 #include "ui/events/ozone/device/device_manager.h" |
| 23 #include "ui/ozone/common/display_util.h" | 23 #include "ui/ozone/common/display_util.h" |
| 24 #include "ui/ozone/platform/drm/common/drm_util.h" | 24 #include "ui/ozone/platform/drm/common/drm_util.h" |
| 25 #include "ui/ozone/platform/drm/host/drm_device_handle.h" | 25 #include "ui/ozone/platform/drm/host/drm_device_handle.h" |
| 26 #include "ui/ozone/platform/drm/host/drm_display_host.h" | 26 #include "ui/ozone/platform/drm/host/drm_display_host.h" |
| 27 #include "ui/ozone/platform/drm/host/drm_native_display_delegate.h" | 27 #include "ui/ozone/platform/drm/host/drm_native_display_delegate.h" |
| 28 #include "ui/ozone/platform/drm/host/gpu_thread_adapter.h" | 28 #include "ui/ozone/platform/drm/host/gpu_thread_adapter.h" |
| (...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 458 | 458 |
| 459 callback.Run(snapshots); | 459 callback.Run(snapshots); |
| 460 } | 460 } |
| 461 | 461 |
| 462 void DrmDisplayHostManager::NotifyDisplayDelegate() const { | 462 void DrmDisplayHostManager::NotifyDisplayDelegate() const { |
| 463 if (delegate_) | 463 if (delegate_) |
| 464 delegate_->OnConfigurationChanged(); | 464 delegate_->OnConfigurationChanged(); |
| 465 } | 465 } |
| 466 | 466 |
| 467 } // namespace ui | 467 } // namespace ui |
| OLD | NEW |