| Index: ash/wm/workspace/workspace_manager2_unittest.cc
|
| diff --git a/ash/wm/workspace/workspace_manager2_unittest.cc b/ash/wm/workspace/workspace_manager2_unittest.cc
|
| index f337f7fa4d351b49207af09b4ea8f2edee1dae85..3ec6793963b8419a2a1cc3c40fca2b58c8950c74 100644
|
| --- a/ash/wm/workspace/workspace_manager2_unittest.cc
|
| +++ b/ash/wm/workspace/workspace_manager2_unittest.cc
|
| @@ -468,6 +468,13 @@ TEST_F(WorkspaceManager2Test, ShelfStateUpdated) {
|
| w1->SetBounds(touches_shelf_bounds);
|
| EXPECT_FALSE(GetWindowOverlapsShelf());
|
|
|
| + // A visible ignored window should not trigger the overlap.
|
| + scoped_ptr<Window> w_ignored(CreateTestWindow());
|
| + w_ignored->SetBounds(touches_shelf_bounds);
|
| + SetIgnoredByShelf(&(*w_ignored), true);
|
| + w_ignored->Show();
|
| + EXPECT_FALSE(GetWindowOverlapsShelf());
|
| +
|
| // Make it visible, since visible shelf overlaps should be true.
|
| w1->Show();
|
| EXPECT_TRUE(GetWindowOverlapsShelf());
|
|
|