Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: trunk/src/ash/wm/app_list_controller_unittest.cc

Issue 413983006: Revert 285209 "Cleanups for aura/test/event_generator.h (resolve..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: trunk/src/ash/wm/app_list_controller_unittest.cc
===================================================================
--- trunk/src/ash/wm/app_list_controller_unittest.cc (revision 285220)
+++ trunk/src/ash/wm/app_list_controller_unittest.cc (working copy)
@@ -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 @@
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 @@
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());
« no previous file with comments | « trunk/src/ash/tooltips/tooltip_controller_unittest.cc ('k') | trunk/src/ash/wm/dock/docked_window_resizer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698