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_GPU_PLATFORM_SUPPORT_HOST_H_ | 5 #ifndef UI_OZONE_PLATFORM_DRM_HOST_DRM_GPU_PLATFORM_SUPPORT_HOST_H_ |
6 #define UI_OZONE_PLATFORM_DRM_HOST_DRM_GPU_PLATFORM_SUPPORT_HOST_H_ | 6 #define UI_OZONE_PLATFORM_DRM_HOST_DRM_GPU_PLATFORM_SUPPORT_HOST_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
11 #include "base/observer_list.h" | 11 #include "base/observer_list.h" |
| 12 #include "base/single_thread_task_runner.h" |
12 #include "ui/display/types/display_constants.h" | 13 #include "ui/display/types/display_constants.h" |
13 #include "ui/gfx/native_widget_types.h" | 14 #include "ui/gfx/native_widget_types.h" |
14 #include "ui/ozone/common/gpu/ozone_gpu_message_params.h" | 15 #include "ui/ozone/common/gpu/ozone_gpu_message_params.h" |
15 #include "ui/ozone/platform/drm/host/gpu_thread_adapter.h" | 16 #include "ui/ozone/platform/drm/host/gpu_thread_adapter.h" |
16 #include "ui/ozone/public/gpu_platform_support_host.h" | 17 #include "ui/ozone/public/gpu_platform_support_host.h" |
17 | 18 |
18 namespace gfx { | 19 namespace gfx { |
19 class Point; | 20 class Point; |
20 } | 21 } |
21 | 22 |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 DrmCursor* cursor_; // Not owned. | 125 DrmCursor* cursor_; // Not owned. |
125 base::ObserverList<GpuThreadObserver> gpu_thread_observers_; | 126 base::ObserverList<GpuThreadObserver> gpu_thread_observers_; |
126 | 127 |
127 base::WeakPtrFactory<DrmGpuPlatformSupportHost> weak_ptr_factory_; | 128 base::WeakPtrFactory<DrmGpuPlatformSupportHost> weak_ptr_factory_; |
128 DISALLOW_COPY_AND_ASSIGN(DrmGpuPlatformSupportHost); | 129 DISALLOW_COPY_AND_ASSIGN(DrmGpuPlatformSupportHost); |
129 }; | 130 }; |
130 | 131 |
131 } // namespace ui | 132 } // namespace ui |
132 | 133 |
133 #endif // UI_OZONE_GPU_DRM_GPU_PLATFORM_SUPPORT_HOST_H_ | 134 #endif // UI_OZONE_GPU_DRM_GPU_PLATFORM_SUPPORT_HOST_H_ |
OLD | NEW |