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

Unified Diff: ui/ozone/platform/cast/ozone_platform_cast.cc

Issue 1128113011: ozone: Introduce ClientPixmap and ClientPixmapFactory for non-GPU processes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Introduce NativePixmapClient 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/platform/cast/ozone_platform_cast.cc
diff --git a/ui/ozone/platform/cast/ozone_platform_cast.cc b/ui/ozone/platform/cast/ozone_platform_cast.cc
index 60f7c9a901220a23d2ed3f2662da1cdb6a714211..4b15bffd69a85fc620ba4905208f59a1164b3c2a 100644
--- a/ui/ozone/platform/cast/ozone_platform_cast.cc
+++ b/ui/ozone/platform/cast/ozone_platform_cast.cc
@@ -15,6 +15,7 @@
#include "ui/ozone/public/cursor_factory_ozone.h"
#include "ui/ozone/public/gpu_platform_support_host.h"
#include "ui/ozone/public/input_controller.h"
+#include "ui/ozone/public/native_pixmap_client.h"
#include "ui/ozone/public/ozone_platform.h"
#include "ui/ozone/public/system_input_injector.h"
@@ -92,6 +93,15 @@ class OzonePlatformCast : public OzonePlatform {
DISALLOW_COPY_AND_ASSIGN(OzonePlatformCast);
};
+class NativePixmapClientCast : public NativePixmapClient {
+ public:
+ NativePixmapClientCast() {}
+ ~NativePixmapClientCast() override {}
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(NativePixmapClientCast);
+};
+
} // namespace
OzonePlatform* CreateOzonePlatformCast() {
@@ -102,4 +112,8 @@ OzonePlatform* CreateOzonePlatformCast() {
return new OzonePlatformCast(platform.Pass());
}
+NativePixmapClient* CreateNativePixmapClientCast() {
+ return new NativePixmapClientCast;
+}
+
} // namespace ui

Powered by Google App Engine
This is Rietveld 408576698