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

Unified Diff: ui/ozone/public/overlay_manager_ozone.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: fix leak, other comments Created 5 years, 7 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/public/overlay_manager_ozone.h
diff --git a/ui/ozone/public/overlay_manager_ozone.h b/ui/ozone/public/overlay_manager_ozone.h
index 58fe9c3c3d129b5d127eb2a731b27f92448bc0c7..9333fdae34de7821314e40c28ed5284123ce3f11 100644
--- a/ui/ozone/public/overlay_manager_ozone.h
+++ b/ui/ozone/public/overlay_manager_ozone.h
@@ -5,6 +5,7 @@
#ifndef UI_OZONE_PUBLIC_OVERLAY_MANAGER_OZONE_H_
#define UI_OZONE_PUBLIC_OVERLAY_MANAGER_OZONE_H_
+#include "base/memory/scoped_ptr.h"
#include "ui/gfx/native_widget_types.h"
namespace ui {
@@ -18,7 +19,7 @@ class OverlayManagerOzone {
virtual ~OverlayManagerOzone() {}
// Get the hal struct to check for overlay support.
- virtual OverlayCandidatesOzone* GetOverlayCandidates(
+ virtual scoped_ptr<OverlayCandidatesOzone> GetOverlayCandidates(
gfx::AcceleratedWidget w) = 0;
// Returns true if overlays can be shown at z-index 0, replacing the main

Powered by Google App Engine
This is Rietveld 408576698