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

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

Issue 1157793004: ozone: Add overlay candidate implementation that queries support via IPC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add missing license header Created 5 years, 6 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_overlay_manager.h
diff --git a/ui/ozone/platform/drm/host/drm_overlay_manager.h b/ui/ozone/platform/drm/host/drm_overlay_manager.h
index 91bdd514cb7af950a7a946b26026015631a833b3..fcaf62122226ac8243ee1817abc87dcebd2cc26a 100644
--- a/ui/ozone/platform/drm/host/drm_overlay_manager.h
+++ b/ui/ozone/platform/drm/host/drm_overlay_manager.h
@@ -5,14 +5,16 @@
#ifndef UI_OZONE_PLATFORM_DRM_HOST_DRM_OVERLAY_MANAGER_H_
#define UI_OZONE_PLATFORM_DRM_HOST_DRM_OVERLAY_MANAGER_H_
-#include "base/memory/scoped_ptr.h"
#include "ui/ozone/public/overlay_manager_ozone.h"
namespace ui {
+class DrmGpuPlatformSupportHost;
+
class DrmOverlayManager : public OverlayManagerOzone {
public:
- DrmOverlayManager(bool allow_surfaceless);
+ DrmOverlayManager(bool allow_surfaceless,
+ DrmGpuPlatformSupportHost* platform_support_host);
~DrmOverlayManager() override;
// OverlayManagerOzone:
@@ -21,6 +23,7 @@ class DrmOverlayManager : public OverlayManagerOzone {
bool CanShowPrimaryPlaneAsOverlay() override;
private:
+ DrmGpuPlatformSupportHost* platform_support_host_;
bool allow_surfaceless_;
bool is_supported_;
« no previous file with comments | « ui/ozone/platform/drm/host/drm_overlay_candidates_host.cc ('k') | ui/ozone/platform/drm/host/drm_overlay_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698