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

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

Issue 1661783002: Centralize all gbm ozone host IPC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments Created 4 years, 11 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_window_host.h
diff --git a/ui/ozone/platform/drm/host/drm_window_host.h b/ui/ozone/platform/drm/host/drm_window_host.h
index 1178c35742840175c53ea807c3da24e52d17491c..a66729c2d8d2e9ffa3a43921a51cf5e5c24f7d6f 100644
--- a/ui/ozone/platform/drm/host/drm_window_host.h
+++ b/ui/ozone/platform/drm/host/drm_window_host.h
@@ -20,11 +20,11 @@ namespace ui {
class DrmDisplayHostManager;
class DrmCursor;
-class DrmGpuPlatformSupportHost;
class DrmGpuWindow;
class DrmOverlayManager;
class DrmWindowHostManager;
class EventFactoryEvdev;
+class GpuThreadAdapter;
// Implementation of the platform window. This object and its handle |widget_|
// uniquely identify a window. Since the DRI/GBM platform is split into 2
@@ -42,7 +42,7 @@ class DrmWindowHost : public PlatformWindow,
public:
DrmWindowHost(PlatformWindowDelegate* delegate,
const gfx::Rect& bounds,
- DrmGpuPlatformSupportHost* sender,
+ GpuThreadAdapter* sender,
EventFactoryEvdev* event_factory,
DrmCursor* cursor,
DrmWindowHostManager* window_manager,
@@ -78,7 +78,7 @@ class DrmWindowHost : public PlatformWindow,
bool CanDispatchEvent(const PlatformEvent& event) override;
uint32_t DispatchEvent(const PlatformEvent& event) override;
- // ChannelObserver:
+ // GpuThreadObserver:
void OnGpuThreadReady() override;
void OnGpuThreadRetired() override;
@@ -86,7 +86,7 @@ class DrmWindowHost : public PlatformWindow,
void SendBoundsChange();
PlatformWindowDelegate* delegate_; // Not owned.
- DrmGpuPlatformSupportHost* sender_; // Not owned.
+ GpuThreadAdapter* sender_; // Not owned.
EventFactoryEvdev* event_factory_; // Not owned.
DrmCursor* cursor_; // Not owned.
DrmWindowHostManager* window_manager_; // Not owned.
« no previous file with comments | « ui/ozone/platform/drm/host/drm_overlay_manager_core.cc ('k') | ui/ozone/platform/drm/host/drm_window_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698