| 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 6428c79286e1676b4717c7ae69a293d54685b518..35043181950600404b41b7c5e33b8276fca2f431 100644
|
| --- a/ui/ozone/platform/test/ozone_platform_test.cc
|
| +++ b/ui/ozone/platform/test/ozone_platform_test.cc
|
| @@ -9,6 +9,10 @@
|
| #include "ui/ozone/ozone_platform.h"
|
| #include "ui/ozone/ozone_switches.h"
|
|
|
| +#if defined(OS_CHROMEOS)
|
| +#include "ui/ozone/common/chromeos/native_display_delegate_ozone.h"
|
| +#endif
|
| +
|
| namespace ui {
|
|
|
| OzonePlatformTest::OzonePlatformTest(const base::FilePath& dump_file)
|
| @@ -33,6 +37,14 @@ ui::CursorFactoryOzone* OzonePlatformTest::GetCursorFactoryOzone() {
|
| return &cursor_factory_ozone_;
|
| }
|
|
|
| +ui::NativeDisplayDelegate* OzonePlatformTest::CreateNativeDisplayDelegate() {
|
| +#if defined(OS_CHROMEOS)
|
| + return new NativeDisplayDelegateOzone();
|
| +#else
|
| + return NULL;
|
| +#endif
|
| +}
|
| +
|
| OzonePlatform* CreateOzonePlatformTest() {
|
| CommandLine* cmd = CommandLine::ForCurrentProcess();
|
| base::FilePath location = base::FilePath("/dev/null");
|
|
|