| 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_PROXY_H_ | 5 #ifndef UI_OZONE_PLATFORM_DRM_GPU_DRM_THREAD_PROXY_H_ |
| 6 #define UI_OZONE_PLATFORM_DRM_GPU_DRM_THREAD_PROXY_H_ | 6 #define UI_OZONE_PLATFORM_DRM_GPU_DRM_THREAD_PROXY_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
| 12 #include "ui/ozone/platform/drm/gpu/drm_thread.h" | 12 #include "ui/ozone/platform/drm/gpu/drm_thread.h" |
| 13 #include "ui/ozone/public/interfaces/device_cursor.mojom.h" | 13 #include "ui/ozone/public/interfaces/device_cursor.mojom.h" |
| 14 | 14 |
| 15 namespace shell { | 15 namespace service_manager { |
| 16 class Connection; | 16 class Connection; |
| 17 } | 17 } |
| 18 | 18 |
| 19 namespace ui { | 19 namespace ui { |
| 20 | 20 |
| 21 class DrmWindowProxy; | 21 class DrmWindowProxy; |
| 22 class InterThreadMessagingProxy; | 22 class InterThreadMessagingProxy; |
| 23 | 23 |
| 24 // Mediates the communication between GPU main/IO threads and the DRM thread. It | 24 // Mediates the communication between GPU main/IO threads and the DRM thread. It |
| 25 // serves proxy objects that are safe to call on the GPU threads. The proxy | 25 // serves proxy objects that are safe to call on the GPU threads. The proxy |
| (...skipping 27 matching lines...) Expand all Loading... |
| 53 | 53 |
| 54 private: | 54 private: |
| 55 DrmThread drm_thread_; | 55 DrmThread drm_thread_; |
| 56 | 56 |
| 57 DISALLOW_COPY_AND_ASSIGN(DrmThreadProxy); | 57 DISALLOW_COPY_AND_ASSIGN(DrmThreadProxy); |
| 58 }; | 58 }; |
| 59 | 59 |
| 60 } // namespace ui | 60 } // namespace ui |
| 61 | 61 |
| 62 #endif // UI_OZONE_PLATFORM_DRM_GPU_DRM_THREAD_PROXY_H_ | 62 #endif // UI_OZONE_PLATFORM_DRM_GPU_DRM_THREAD_PROXY_H_ |
| OLD | NEW |