| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_GPU_DRM_THREAD_H_ | 5 #ifndef UI_OZONE_PLATFORM_DRM_GPU_DRM_THREAD_H_ |
| 6 #define UI_OZONE_PLATFORM_DRM_GPU_DRM_THREAD_H_ | 6 #define UI_OZONE_PLATFORM_DRM_GPU_DRM_THREAD_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 | 11 |
| 12 #include "base/files/scoped_file.h" | 12 #include "base/files/scoped_file.h" |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
| 15 #include "base/threading/thread.h" | 15 #include "base/threading/thread.h" |
| 16 #include "mojo/public/cpp/bindings/binding_set.h" | 16 #include "mojo/public/cpp/bindings/binding_set.h" |
| 17 #include "services/shell/public/cpp/connection.h" | 17 #include "services/shell/public/cpp/connection.h" |
| 18 #include "ui/gfx/native_pixmap_handle_ozone.h" | 18 #include "ui/gfx/native_pixmap_handle.h" |
| 19 #include "ui/gfx/native_widget_types.h" | 19 #include "ui/gfx/native_widget_types.h" |
| 20 #include "ui/gfx/vsync_provider.h" | 20 #include "ui/gfx/vsync_provider.h" |
| 21 #include "ui/ozone/common/gpu/ozone_gpu_message_params.h" | 21 #include "ui/ozone/common/gpu/ozone_gpu_message_params.h" |
| 22 #include "ui/ozone/public/interfaces/device_cursor.mojom.h" | 22 #include "ui/ozone/public/interfaces/device_cursor.mojom.h" |
| 23 #include "ui/ozone/public/swap_completion_callback.h" | 23 #include "ui/ozone/public/swap_completion_callback.h" |
| 24 | 24 |
| 25 namespace base { | 25 namespace base { |
| 26 struct FileDescriptor; | 26 struct FileDescriptor; |
| 27 } | 27 } |
| 28 | 28 |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 // The mojo implementation requires a BindingSet because the DrmThread serves | 141 // The mojo implementation requires a BindingSet because the DrmThread serves |
| 142 // requests from two different client threads. | 142 // requests from two different client threads. |
| 143 mojo::BindingSet<ozone::mojom::DeviceCursor> bindings_; | 143 mojo::BindingSet<ozone::mojom::DeviceCursor> bindings_; |
| 144 | 144 |
| 145 DISALLOW_COPY_AND_ASSIGN(DrmThread); | 145 DISALLOW_COPY_AND_ASSIGN(DrmThread); |
| 146 }; | 146 }; |
| 147 | 147 |
| 148 } // namespace ui | 148 } // namespace ui |
| 149 | 149 |
| 150 #endif // UI_OZONE_PLATFORM_DRM_GPU_DRM_THREAD_H_ | 150 #endif // UI_OZONE_PLATFORM_DRM_GPU_DRM_THREAD_H_ |
| OLD | NEW |