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

Unified Diff: ui/ozone/platform/test/ozone_platform_test.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/test/ozone_platform_test.cc
diff --git a/ui/ozone/platform/test/ozone_platform_test.cc b/ui/ozone/platform/test/ozone_platform_test.cc
index c6da9e3aa73aff483f148a75538f4c894feea749..2c403b22ba3c883bc90543e991b31ae1cd1d47a5 100644
--- a/ui/ozone/platform/test/ozone_platform_test.cc
+++ b/ui/ozone/platform/test/ozone_platform_test.cc
@@ -18,6 +18,7 @@
#include "ui/ozone/public/gpu_platform_support.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/ozone_switches.h"
#include "ui/ozone/public/system_input_injector.h"
@@ -109,6 +110,15 @@ class OzonePlatformTest : public OzonePlatform {
DISALLOW_COPY_AND_ASSIGN(OzonePlatformTest);
};
+class NativePixmapClientTest : public NativePixmapClient {
+ public:
+ NativePixmapClientTest() {}
+ ~NativePixmapClientTest() override {}
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(NativePixmapClientTest);
+};
+
} // namespace
OzonePlatform* CreateOzonePlatformTest() {
@@ -119,4 +129,8 @@ OzonePlatform* CreateOzonePlatformTest() {
return new OzonePlatformTest(location);
}
+NativePixmapClient* CreateNativePixmapClientTest() {
+ return new NativePixmapClientTest;
spang 2015/06/05 19:21:54 Make a function // native_pixmap_client.h OZONE_
dshwang 2015/06/08 11:15:14 Done.
+}
+
} // namespace ui

Powered by Google App Engine
This is Rietveld 408576698