| Index: trunk/src/ash/wm/gestures/overview_gesture_handler_unittest.cc
|
| ===================================================================
|
| --- trunk/src/ash/wm/gestures/overview_gesture_handler_unittest.cc (revision 285220)
|
| +++ trunk/src/ash/wm/gestures/overview_gesture_handler_unittest.cc (working copy)
|
| @@ -6,11 +6,11 @@
|
| #include "ash/shell.h"
|
| #include "ash/test/ash_test_base.h"
|
| #include "ash/wm/overview/window_selector_controller.h"
|
| +#include "ui/aura/test/event_generator.h"
|
| #include "ui/aura/test/test_window_delegate.h"
|
| #include "ui/aura/test/test_windows.h"
|
| #include "ui/aura/window.h"
|
| #include "ui/aura/window_event_dispatcher.h"
|
| -#include "ui/events/test/event_generator.h"
|
| #include "ui/views/widget/widget.h"
|
|
|
| namespace ash {
|
| @@ -42,7 +42,7 @@
|
| aura::Window* root_window = Shell::GetPrimaryRootWindow();
|
| scoped_ptr<aura::Window> window1(CreateWindow(bounds));
|
| scoped_ptr<aura::Window> window2(CreateWindow(bounds));
|
| - ui::test::EventGenerator generator(root_window, root_window);
|
| + aura::test::EventGenerator generator(root_window, root_window);
|
| generator.ScrollSequence(gfx::Point(), base::TimeDelta::FromMilliseconds(5),
|
| 0, -500, 100, 3);
|
| EXPECT_TRUE(IsSelecting());
|
| @@ -69,7 +69,7 @@
|
| aura::Window* root_window = Shell::GetPrimaryRootWindow();
|
| scoped_ptr<aura::Window> window1(CreateWindow(bounds));
|
| scoped_ptr<aura::Window> window2(CreateWindow(bounds));
|
| - ui::test::EventGenerator generator(root_window, root_window);
|
| + aura::test::EventGenerator generator(root_window, root_window);
|
| generator.ScrollSequence(gfx::Point(), base::TimeDelta::FromMilliseconds(5),
|
| 600, -500, 100, 3);
|
| EXPECT_FALSE(IsSelecting());
|
| @@ -86,7 +86,7 @@
|
| aura::Window* root_window = Shell::GetPrimaryRootWindow();
|
| scoped_ptr<aura::Window> window1(CreateWindow(bounds));
|
| scoped_ptr<aura::Window> window2(CreateWindow(bounds));
|
| - ui::test::EventGenerator generator(root_window, root_window);
|
| + aura::test::EventGenerator generator(root_window, root_window);
|
| base::TimeDelta timestamp = base::TimeDelta::FromInternalValue(
|
| base::TimeTicks::Now().ToInternalValue());
|
| gfx::Point start;
|
| @@ -146,7 +146,7 @@
|
| aura::Window* root_window = Shell::GetPrimaryRootWindow();
|
| scoped_ptr<aura::Window> window1(CreateWindow(bounds));
|
| scoped_ptr<aura::Window> window2(CreateWindow(bounds));
|
| - ui::test::EventGenerator generator(root_window, root_window);
|
| + aura::test::EventGenerator generator(root_window, root_window);
|
| gfx::Point start_points[3];
|
| start_points[0] = start_points[1] = start_points[2] = gfx::Point();
|
| generator.GestureMultiFingerScroll(3, start_points, 5, 10, 0, 100);
|
| @@ -163,7 +163,7 @@
|
| aura::Window* root_window = Shell::GetPrimaryRootWindow();
|
| scoped_ptr<aura::Window> window1(CreateWindow(bounds));
|
| scoped_ptr<aura::Window> window2(CreateWindow(bounds));
|
| - ui::test::EventGenerator generator(root_window, window2.get());
|
| + aura::test::EventGenerator generator(root_window, window2.get());
|
| gfx::Point start_points[3];
|
| start_points[0] = start_points[1] = start_points[2] = gfx::Point(105, 105);
|
| generator.GestureMultiFingerScroll(3, start_points, 5, 10, 0, 100);
|
|
|