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

Unified Diff: ui/ozone/ozone_platform.h

Issue 269673005: media: Add MediaOzonePlatform support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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/ozone_platform.h
diff --git a/ui/ozone/ozone_platform.h b/ui/ozone/ozone_platform.h
index 536ff0ed8e26e1182acde7e698293f7533f0e663..514883da0beff66beee71f25d56a6a350eb72abc 100644
--- a/ui/ozone/ozone_platform.h
+++ b/ui/ozone/ozone_platform.h
@@ -8,6 +8,11 @@
#include "base/memory/scoped_ptr.h"
#include "ui/ozone/ozone_export.h"
+// TODO(vignatti): is content layer here alright?
+namespace content {
+class VideoDecodeFactoryOzone;
+}
+
namespace gfx {
class SurfaceFactoryOzone;
}
@@ -47,6 +52,8 @@ class OZONE_EXPORT OzonePlatform {
// Factory getters to override in subclasses. The returned objects will be
// injected into the appropriate layer at startup. Subclasses should not
// inject these objects themselves. Ownership is retained by OzonePlatform.
+ virtual content::VideoDecodeFactoryOzone*
+ GetVideoDecodeFactoryOzone() = 0;
virtual gfx::SurfaceFactoryOzone* GetSurfaceFactoryOzone() = 0;
virtual ui::EventFactoryOzone* GetEventFactoryOzone() = 0;
virtual ui::InputMethodContextFactoryOzone*

Powered by Google App Engine
This is Rietveld 408576698