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

Unified Diff: ash/wm/activation_controller_unittest.cc

Issue 9421016: Change EventGenerator to take a RootWindow at construction instead of just assuming one via RootWin… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 10 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
« no previous file with comments | « ash/tooltips/tooltip_controller_unittest.cc ('k') | ash/wm/root_window_event_filter_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/activation_controller_unittest.cc
===================================================================
--- ash/wm/activation_controller_unittest.cc (revision 122697)
+++ ash/wm/activation_controller_unittest.cc (working copy)
@@ -133,7 +133,7 @@
EXPECT_TRUE(IsActiveWindow(NULL));
// Clicking on an activatable window activtes the window.
- aura::test::EventGenerator generator(w1.get());
+ aura::test::EventGenerator generator(Shell::GetRootWindow(), w1.get());
generator.ClickLeftButton();
EXPECT_TRUE(IsActiveWindow(w1.get()));
« no previous file with comments | « ash/tooltips/tooltip_controller_unittest.cc ('k') | ash/wm/root_window_event_filter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698