Chromium Code Reviews| 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 |