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

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

Issue 1631073002: Relocate ozone gbm overlay config cache to manager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased correctly 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 bf44a125ea04cd8630c1135252a882860bbea24b..980396167f5d7f0c3a45d23c9975a802c1f0657f 100644
--- a/ui/ozone/platform/drm/host/drm_window_host.h
+++ b/ui/ozone/platform/drm/host/drm_window_host.h
@@ -21,8 +21,8 @@ namespace ui {
class DrmDisplayHostManager;
class DrmCursor;
class DrmGpuPlatformSupportHost;
-class DrmOverlayCandidatesHostCore;
class DrmGpuWindow;
+class DrmOverlayManager;
class DrmWindowHostManager;
class EventFactoryEvdev;
@@ -46,7 +46,8 @@ class DrmWindowHost : public PlatformWindow,
EventFactoryEvdev* event_factory,
DrmCursor* cursor,
DrmWindowHostManager* window_manager,
- DrmDisplayHostManager* display_manager);
+ DrmDisplayHostManager* display_manager,
+ DrmOverlayManager* overlay_manager);
~DrmWindowHost() override;
void Initialize();
@@ -81,8 +82,6 @@ class DrmWindowHost : public PlatformWindow,
void OnChannelEstablished() override;
void OnChannelDestroyed() override;
- void SetOverlayCandidatesHost(DrmOverlayCandidatesHostCore* host);
-
private:
void SendBoundsChange();
@@ -92,7 +91,7 @@ class DrmWindowHost : public PlatformWindow,
DrmCursor* cursor_; // Not owned.
DrmWindowHostManager* window_manager_; // Not owned.
DrmDisplayHostManager* display_manager_; // Not owned.
- DrmOverlayCandidatesHostCore* overlay_candidates_host_; // Not owned.
+ DrmOverlayManager* overlay_manager_; // Not owned.
gfx::Rect bounds_;
gfx::AcceleratedWidget widget_;
« 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