Chromium Code Reviews| Index: ash/wm/ash_native_cursor_manager_interactive_uitest.cc |
| diff --git a/ash/wm/ash_native_cursor_manager_interactive_uitest.cc b/ash/wm/ash_native_cursor_manager_interactive_uitest.cc |
| index 771b725e9a568b7ad735b121eff35d8d60900f9d..c17242381e26fec542bc490b09468b37a6eafa06 100644 |
| --- a/ash/wm/ash_native_cursor_manager_interactive_uitest.cc |
| +++ b/ash/wm/ash_native_cursor_manager_interactive_uitest.cc |
| @@ -15,6 +15,7 @@ |
| #include "ui/base/resource/resource_bundle.h" |
| #include "ui/base/test/ui_controls.h" |
| #include "ui/base/ui_base_paths.h" |
| +#include "ui/events/platform/platform_event_source.h" |
| #include "ui/gl/gl_surface.h" |
| #if defined(USE_X11) |
| @@ -35,6 +36,7 @@ class AshNativeCursorManagerTest : public test::AshTestBase { |
| virtual void SetUp() OVERRIDE { |
| gfx::GLSurface::InitializeOneOffForTests(); |
| + event_source_ = ui::PlatformEventSource::CreateDefault(); |
|
sky
2014/03/31 20:57:28
Should this be moved to ashtestbase?
sadrul
2014/03/31 23:30:16
Moved the creation of the event-source into WMStat
|
| ui::RegisterPathProvider(); |
| ResourceBundle::InitSharedInstanceWithLocale("en-US", NULL); |
| base::FilePath resources_pack_path; |
| @@ -46,6 +48,11 @@ class AshNativeCursorManagerTest : public test::AshTestBase { |
| test::AshTestBase::SetUp(); |
| } |
| + |
| + private: |
| + scoped_ptr<ui::PlatformEventSource> event_source_; |
| + |
| + DISALLOW_COPY_AND_ASSIGN(AshNativeCursorManagerTest); |
| }; |
| namespace { |