Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(124)

Unified Diff: ui/ozone/platform/drm/host/drm_gpu_platform_support_host.h

Issue 1024083002: [Ozone-Drm] Notify cursor of channel established last (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/ozone/platform/drm/host/drm_gpu_platform_support_host.h
diff --git a/ui/ozone/platform/drm/host/drm_gpu_platform_support_host.h b/ui/ozone/platform/drm/host/drm_gpu_platform_support_host.h
index bad5b385c00e60ab71013a810279a27e45b5100a..25f37da7d813c81a1bd959da1c155fc357be057c 100644
--- a/ui/ozone/platform/drm/host/drm_gpu_platform_support_host.h
+++ b/ui/ozone/platform/drm/host/drm_gpu_platform_support_host.h
@@ -21,11 +21,12 @@ class Point;
namespace ui {
class ChannelObserver;
+class DrmCursor;
class DrmGpuPlatformSupportHost : public GpuPlatformSupportHost,
public IPC::Sender {
public:
- DrmGpuPlatformSupportHost();
+ DrmGpuPlatformSupportHost(DrmCursor* cursor);
~DrmGpuPlatformSupportHost() override;
void RegisterHandler(GpuPlatformSupportHost* handler);
@@ -55,7 +56,8 @@ class DrmGpuPlatformSupportHost : public GpuPlatformSupportHost,
scoped_refptr<base::SingleThreadTaskRunner> send_runner_;
base::Callback<void(IPC::Message*)> send_callback_;
- std::vector<GpuPlatformSupportHost*> handlers_;
+ std::vector<GpuPlatformSupportHost*> handlers_; // Not owned.
+ DrmCursor* cursor_; // Not owned.
ObserverList<ChannelObserver> channel_observers_;
};

Powered by Google App Engine
This is Rietveld 408576698