| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_MUS_THREAD_PROXY_H_ | 5 #ifndef UI_OZONE_PLATFORM_DRM_MUS_THREAD_PROXY_H_ |
| 6 #define UI_OZONE_PLATFORM_DRM_MUS_THREAD_PROXY_H_ | 6 #define UI_OZONE_PLATFORM_DRM_MUS_THREAD_PROXY_H_ |
| 7 | 7 |
| 8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
| 11 #include "base/observer_list.h" | 11 #include "base/observer_list.h" |
| 12 #include "base/synchronization/lock.h" | 12 #include "base/synchronization/lock.h" |
| 13 #include "ui/gfx/native_widget_types.h" | 13 #include "ui/gfx/native_widget_types.h" |
| 14 #include "ui/ozone/platform/drm/gpu/inter_thread_messaging_proxy.h" | 14 #include "ui/ozone/platform/drm/gpu/inter_thread_messaging_proxy.h" |
| 15 #include "ui/ozone/platform/drm/host/drm_cursor.h" | 15 #include "ui/ozone/platform/drm/host/drm_cursor.h" |
| 16 #include "ui/ozone/platform/drm/host/gpu_thread_adapter.h" | 16 #include "ui/ozone/platform/drm/host/gpu_thread_adapter.h" |
| 17 #include "ui/ozone/public/interfaces/device_cursor.mojom.h" | 17 #include "ui/ozone/public/interfaces/device_cursor.mojom.h" |
| 18 | 18 |
| 19 namespace base { | 19 namespace base { |
| 20 class SingleThreadTaskRunner; | 20 class SingleThreadTaskRunner; |
| 21 } | 21 } |
| 22 | 22 |
| 23 namespace ui { | 23 namespace ui { |
| 24 | 24 |
| 25 class DrmCursor; | |
| 26 class DrmDisplayHostManager; | 25 class DrmDisplayHostManager; |
| 27 class DrmOverlayManager; | 26 class DrmOverlayManager; |
| 28 class DrmThread; | 27 class DrmThread; |
| 29 class GpuThreadObserver; | 28 class GpuThreadObserver; |
| 30 class MusThreadProxy; | 29 class MusThreadProxy; |
| 31 | 30 |
| 32 // Forwarding proxy to handle ownership semantics. | 31 // Forwarding proxy to handle ownership semantics. |
| 33 class CursorProxyThread : public DrmCursorProxy { | 32 class CursorProxyThread : public DrmCursorProxy { |
| 34 public: | 33 public: |
| 35 explicit CursorProxyThread(MusThreadProxy* mus_thread_proxy); | 34 explicit CursorProxyThread(MusThreadProxy* mus_thread_proxy); |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 base::ThreadChecker on_window_server_thread_; | 151 base::ThreadChecker on_window_server_thread_; |
| 153 | 152 |
| 154 base::WeakPtrFactory<MusThreadProxy> weak_ptr_factory_; | 153 base::WeakPtrFactory<MusThreadProxy> weak_ptr_factory_; |
| 155 | 154 |
| 156 DISALLOW_COPY_AND_ASSIGN(MusThreadProxy); | 155 DISALLOW_COPY_AND_ASSIGN(MusThreadProxy); |
| 157 }; | 156 }; |
| 158 | 157 |
| 159 } // namespace ui | 158 } // namespace ui |
| 160 | 159 |
| 161 #endif // UI_OZONE_PLATFORM_DRM_MUS_THREAD_PROXY_H_ | 160 #endif // UI_OZONE_PLATFORM_DRM_MUS_THREAD_PROXY_H_ |
| OLD | NEW |