| Index: ui/aura/shared/compound_event_filter_unittest.cc
|
| diff --git a/ui/aura/shared/compound_event_filter_unittest.cc b/ui/aura/shared/compound_event_filter_unittest.cc
|
| index 4709a97bf7472886e1a044e96bfa791a76745e2b..85ee5808495178bc85ee342e986d0e0b9eb6f0d6 100644
|
| --- a/ui/aura/shared/compound_event_filter_unittest.cc
|
| +++ b/ui/aura/shared/compound_event_filter_unittest.cc
|
| @@ -80,8 +80,15 @@ TEST_F(CompoundEventFilterTest, TouchHidesCursor) {
|
| root_window()->AsRootWindowHostDelegate()->OnHostTouchEvent(&release);
|
| EXPECT_FALSE(cursor_client.IsCursorVisible());
|
|
|
| + // Move the cursor again. The cursor should be visible.
|
| root_window()->AsRootWindowHostDelegate()->OnHostMouseEvent(&mouse);
|
| EXPECT_TRUE(cursor_client.IsCursorVisible());
|
| +
|
| + // Now activate the window and press on it again.
|
| + aura::client::GetActivationClient(
|
| + root_window())->ActivateWindow(window.get());
|
| + root_window()->AsRootWindowHostDelegate()->OnHostTouchEvent(&press);
|
| + EXPECT_FALSE(cursor_client.IsCursorVisible());
|
| }
|
|
|
| } // namespace test
|
|
|