| Index: trunk/src/ash/autoclick/autoclick_unittest.cc
|
| ===================================================================
|
| --- trunk/src/ash/autoclick/autoclick_unittest.cc (revision 285220)
|
| +++ trunk/src/ash/autoclick/autoclick_unittest.cc (working copy)
|
| @@ -5,6 +5,7 @@
|
| #include "ash/autoclick/autoclick_controller.h"
|
| #include "ash/shell.h"
|
| #include "ash/test/ash_test_base.h"
|
| +#include "ui/aura/test/event_generator.h"
|
| #include "ui/aura/test/test_window_delegate.h"
|
| #include "ui/aura/window.h"
|
| #include "ui/aura/window_event_dispatcher.h"
|
| @@ -12,7 +13,6 @@
|
| #include "ui/events/event_constants.h"
|
| #include "ui/events/event_handler.h"
|
| #include "ui/events/keycodes/keyboard_codes.h"
|
| -#include "ui/events/test/event_generator.h"
|
|
|
| namespace ash {
|
|
|
| @@ -227,7 +227,7 @@
|
| std::vector<ui::MouseEvent> events;
|
|
|
| // Test first root window.
|
| - ui::test::EventGenerator generator1(root_windows[0]);
|
| + aura::test::EventGenerator generator1(root_windows[0]);
|
| generator1.MoveMouseTo(100, 200);
|
| events = WaitForMouseEvents();
|
| EXPECT_EQ(2u, events.size());
|
| @@ -235,7 +235,7 @@
|
| EXPECT_EQ(200, events[0].root_location().y());
|
|
|
| // Test second root window.
|
| - ui::test::EventGenerator generator2(root_windows[1]);
|
| + aura::test::EventGenerator generator2(root_windows[1]);
|
| generator2.MoveMouseTo(300, 400);
|
| events = WaitForMouseEvents();
|
| EXPECT_EQ(2u, events.size());
|
|
|