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 #ifndef UI_OZONE_PLATFORM_DRM_HOST_DRM_DISPLAY_HOST_MANAGER_H_ | 5 #ifndef UI_OZONE_PLATFORM_DRM_HOST_DRM_DISPLAY_HOST_MANAGER_H_ |
6 #define UI_OZONE_PLATFORM_DRM_HOST_DRM_DISPLAY_HOST_MANAGER_H_ | 6 #define UI_OZONE_PLATFORM_DRM_HOST_DRM_DISPLAY_HOST_MANAGER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
(...skipping 10 matching lines...) Expand all Loading... |
21 #include "ui/events/ozone/device/device_event_observer.h" | 21 #include "ui/events/ozone/device/device_event_observer.h" |
22 #include "ui/events/ozone/evdev/event_factory_evdev.h" | 22 #include "ui/events/ozone/evdev/event_factory_evdev.h" |
23 #include "ui/ozone/platform/drm/host/gpu_thread_observer.h" | 23 #include "ui/ozone/platform/drm/host/gpu_thread_observer.h" |
24 | 24 |
25 namespace ui { | 25 namespace ui { |
26 | 26 |
27 class DeviceManager; | 27 class DeviceManager; |
28 class DrmDeviceHandle; | 28 class DrmDeviceHandle; |
29 class DrmDisplayHost; | 29 class DrmDisplayHost; |
30 class DrmDisplayHostManager; | 30 class DrmDisplayHostManager; |
31 class DrmGpuPlatformSupportHost; | |
32 class DrmNativeDisplayDelegate; | 31 class DrmNativeDisplayDelegate; |
33 class GpuThreadAdapter; | 32 class GpuThreadAdapter; |
34 | 33 |
35 struct DisplaySnapshot_Params; | 34 struct DisplaySnapshot_Params; |
36 | 35 |
37 // The portion of the DrmDisplayHostManager implementation that is agnostic | 36 // The portion of the DrmDisplayHostManager implementation that is agnostic |
38 // in how its communication with GPU-specific functionality is implemented. | 37 // in how its communication with GPU-specific functionality is implemented. |
39 // This is used from both the IPC and the in-process versions in MUS. | 38 // This is used from both the IPC and the in-process versions in MUS. |
40 class DrmDisplayHostManager : public DeviceEventObserver, GpuThreadObserver { | 39 class DrmDisplayHostManager : public DeviceEventObserver, GpuThreadObserver { |
41 public: | 40 public: |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 std::unique_ptr<DrmDeviceHandle> primary_drm_device_handle_; | 137 std::unique_ptr<DrmDeviceHandle> primary_drm_device_handle_; |
139 | 138 |
140 base::WeakPtrFactory<DrmDisplayHostManager> weak_ptr_factory_; | 139 base::WeakPtrFactory<DrmDisplayHostManager> weak_ptr_factory_; |
141 | 140 |
142 DISALLOW_COPY_AND_ASSIGN(DrmDisplayHostManager); | 141 DISALLOW_COPY_AND_ASSIGN(DrmDisplayHostManager); |
143 }; | 142 }; |
144 | 143 |
145 } // namespace ui | 144 } // namespace ui |
146 | 145 |
147 #endif // UI_OZONE_PLATFORM_DRM_HOST_DRM_DISPLAY_HOST_MANAGER_H_ | 146 #endif // UI_OZONE_PLATFORM_DRM_HOST_DRM_DISPLAY_HOST_MANAGER_H_ |
OLD | NEW |