Index: chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc |
diff --git a/chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc b/chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc |
index e06bc6dee618f1d381d409031fb2820afd2c675d..3a5134c2850f4c70e1910a904d760319d452072b 100644 |
--- a/chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc |
+++ b/chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc |
@@ -22,9 +22,9 @@ |
#include "content/public/browser/notification_service.h" |
#include "content/public/common/url_constants.h" |
#include "content/public/test/test_utils.h" |
-#include "ui/aura/test/event_generator.h" |
#include "ui/aura/window.h" |
#include "ui/events/event_utils.h" |
+#include "ui/events/test/event_generator.h" |
#if defined(OS_CHROMEOS) |
#include "chromeos/chromeos_switches.h" |
@@ -80,7 +80,7 @@ class TabScrubberTest : public InProcessBrowserTest, |
void SendScrubEvent(Browser* browser, int index) { |
aura::Window* window = browser->window()->GetNativeWindow(); |
aura::Window* root = window->GetRootWindow(); |
- aura::test::EventGenerator event_generator(root, window); |
+ ui::test::EventGenerator event_generator(root, window); |
int active_index = browser->tab_strip_model()->active_index(); |
TabScrubber::Direction direction = index < active_index ? |
TabScrubber::LEFT : TabScrubber::RIGHT; |
@@ -107,7 +107,7 @@ class TabScrubberTest : public InProcessBrowserTest, |
void Scrub(Browser* browser, int index, ScrubType scrub_type) { |
aura::Window* window = browser->window()->GetNativeWindow(); |
aura::Window* root = window->GetRootWindow(); |
- aura::test::EventGenerator event_generator(root, window); |
+ ui::test::EventGenerator event_generator(root, window); |
event_generator.set_async(true); |
activation_order_.clear(); |
int active_index = browser->tab_strip_model()->active_index(); |
@@ -150,7 +150,7 @@ class TabScrubberTest : public InProcessBrowserTest, |
void SendScrubSequence(Browser* browser, int x_offset, int index) { |
aura::Window* window = browser->window()->GetNativeWindow(); |
aura::Window* root = window->GetRootWindow(); |
- aura::test::EventGenerator event_generator(root, window); |
+ ui::test::EventGenerator event_generator(root, window); |
bool wait_for_active = false; |
if (index != browser->tab_strip_model()->active_index()) { |
wait_for_active = true; |