| 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..2a848954c4d6d8146eeb24c87bd6c6907e0d656e 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,15 @@ ui::CursorFactoryOzone* OzonePlatformTest::GetCursorFactoryOzone() {
|
| return &cursor_factory_ozone_;
|
| }
|
|
|
| +#if defined(OS_CHROMEOS)
|
| +scoped_ptr<ui::NativeDisplayDelegate>
|
| +OzonePlatformTest::CreateNativeDisplayDelegate() {
|
| + return scoped_ptr<ui::NativeDisplayDelegate>(
|
| + new NativeDisplayDelegateOzone());
|
| + return scoped_ptr<ui::NativeDisplayDelegate>();
|
| +}
|
| +#endif
|
| +
|
| OzonePlatform* CreateOzonePlatformTest() {
|
| CommandLine* cmd = CommandLine::ForCurrentProcess();
|
| base::FilePath location = base::FilePath("/dev/null");
|
|
|