| Index: ash/wm/overview/window_selector_unittest.cc
|
| diff --git a/ash/wm/overview/window_selector_unittest.cc b/ash/wm/overview/window_selector_unittest.cc
|
| index 55c3f02eb30b630dba45cf215ec747ac64e585ce..93dba4d88c0e80a60ec7f02618a6de8a55f5abf9 100644
|
| --- a/ash/wm/overview/window_selector_unittest.cc
|
| +++ b/ash/wm/overview/window_selector_unittest.cc
|
| @@ -865,6 +865,21 @@ TEST_F(WindowSelectorTest, DisplayOrientationChanged) {
|
| }
|
| }
|
|
|
| +// Tests traversing some windows in overview mode with the tab key.
|
| +TEST_F(WindowSelectorTest, BasicTabKeyNavigation) {
|
| + gfx::Rect bounds(0, 0, 100, 100);
|
| + scoped_ptr<aura::Window> window2(CreateWindow(bounds));
|
| + scoped_ptr<aura::Window> window1(CreateWindow(bounds));
|
| + ToggleOverview();
|
| +
|
| + SendKey(ui::VKEY_TAB);
|
| + EXPECT_EQ(GetSelectedWindow(), window1.get());
|
| + SendKey(ui::VKEY_TAB);
|
| + EXPECT_EQ(GetSelectedWindow(), window2.get());
|
| + SendKey(ui::VKEY_TAB);
|
| + EXPECT_EQ(GetSelectedWindow(), window1.get());
|
| +}
|
| +
|
| // Tests traversing some windows in overview mode with the arrow keys in every
|
| // possible direction.
|
| TEST_F(WindowSelectorTest, BasicArrowKeyNavigation) {
|
|
|