summaryrefslogtreecommitdiffstats
path: root/ash/wm/app_list_controller_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ash/wm/app_list_controller_unittest.cc')
-rw-r--r--ash/wm/app_list_controller_unittest.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/ash/wm/app_list_controller_unittest.cc b/ash/wm/app_list_controller_unittest.cc
index 05ceae3..da663d6 100644
--- a/ash/wm/app_list_controller_unittest.cc
+++ b/ash/wm/app_list_controller_unittest.cc
@@ -11,9 +11,9 @@
#include "base/memory/scoped_ptr.h"
#include "ui/app_list/app_list_switches.h"
#include "ui/app_list/views/app_list_view.h"
+#include "ui/aura/test/event_generator.h"
#include "ui/aura/test/test_windows.h"
#include "ui/aura/window.h"
-#include "ui/events/test/event_generator.h"
namespace ash {
@@ -86,7 +86,8 @@ TEST_P(AppListControllerTest, ClickOutsideBubbleClosesBubble) {
aura::Window* app_window = shell->GetAppListWindow();
ASSERT_TRUE(app_window);
- ui::test::EventGenerator generator(shell->GetPrimaryRootWindow(), app_window);
+ aura::test::EventGenerator generator(shell->GetPrimaryRootWindow(),
+ app_window);
// Click on the bubble itself. The bubble should remain visible.
generator.ClickLeftButton();
EXPECT_TRUE(shell->GetAppListTargetVisibility());
@@ -111,7 +112,7 @@ TEST_P(AppListControllerTest, TapOutsideBubbleClosesBubble) {
ASSERT_TRUE(app_window);
gfx::Rect app_window_bounds = app_window->GetBoundsInRootWindow();
- ui::test::EventGenerator generator(shell->GetPrimaryRootWindow());
+ aura::test::EventGenerator generator(shell->GetPrimaryRootWindow());
// Click on the bubble itself. The bubble should remain visible.
generator.GestureTapAt(app_window_bounds.CenterPoint());
EXPECT_TRUE(shell->GetAppListTargetVisibility());