| Index: ui/views/corewm/compound_event_filter_unittest.cc
|
| diff --git a/ui/views/corewm/compound_event_filter_unittest.cc b/ui/views/corewm/compound_event_filter_unittest.cc
|
| index 6b852e4cd55b6103c9a168ab515f80fe8207c028..7ac61af7b707a3e1fb84e5f012aa357b419b0612 100644
|
| --- a/ui/views/corewm/compound_event_filter_unittest.cc
|
| +++ b/ui/views/corewm/compound_event_filter_unittest.cc
|
| @@ -70,19 +70,19 @@ TEST_F(CompoundEventFilterTest, CursorVisibilityChange) {
|
|
|
| // Synthesized mouse event should not show the cursor.
|
| ui::MouseEvent enter(ui::ET_MOUSE_ENTERED, gfx::Point(10, 10),
|
| - gfx::Point(10, 10), 0);
|
| + gfx::Point(10, 10), 0, 0);
|
| enter.set_flags(enter.flags() | ui::EF_IS_SYNTHESIZED);
|
| dispatcher()->AsRootWindowHostDelegate()->OnHostMouseEvent(&enter);
|
| EXPECT_FALSE(cursor_client.IsCursorVisible());
|
|
|
| ui::MouseEvent move(ui::ET_MOUSE_MOVED, gfx::Point(10, 10),
|
| - gfx::Point(10, 10), 0);
|
| + gfx::Point(10, 10), 0, 0);
|
| move.set_flags(enter.flags() | ui::EF_IS_SYNTHESIZED);
|
| dispatcher()->AsRootWindowHostDelegate()->OnHostMouseEvent(&move);
|
| EXPECT_FALSE(cursor_client.IsCursorVisible());
|
|
|
| ui::MouseEvent real_move(ui::ET_MOUSE_MOVED, gfx::Point(10, 10),
|
| - gfx::Point(10, 10), 0);
|
| + gfx::Point(10, 10), 0, 0);
|
| dispatcher()->AsRootWindowHostDelegate()->OnHostMouseEvent(&real_move);
|
| EXPECT_TRUE(cursor_client.IsCursorVisible());
|
|
|
| @@ -92,7 +92,7 @@ TEST_F(CompoundEventFilterTest, CursorVisibilityChange) {
|
|
|
| // Mouse synthesized exit event should not show the cursor.
|
| ui::MouseEvent exit(ui::ET_MOUSE_EXITED, gfx::Point(10, 10),
|
| - gfx::Point(10, 10), 0);
|
| + gfx::Point(10, 10), 0, 0);
|
| exit.set_flags(enter.flags() | ui::EF_IS_SYNTHESIZED);
|
| dispatcher()->AsRootWindowHostDelegate()->OnHostMouseEvent(&exit);
|
| EXPECT_FALSE(cursor_client.IsCursorVisible());
|
| @@ -110,7 +110,7 @@ TEST_F(CompoundEventFilterTest, TouchHidesCursor) {
|
| aura::test::TestCursorClient cursor_client(root_window());
|
|
|
| ui::MouseEvent mouse0(ui::ET_MOUSE_MOVED, gfx::Point(10, 10),
|
| - gfx::Point(10, 10), 0);
|
| + gfx::Point(10, 10), 0, 0);
|
| dispatcher()->AsRootWindowHostDelegate()->OnHostMouseEvent(&mouse0);
|
| EXPECT_TRUE(cursor_client.IsMouseEventsEnabled());
|
|
|
| @@ -131,7 +131,7 @@ TEST_F(CompoundEventFilterTest, TouchHidesCursor) {
|
| EXPECT_FALSE(cursor_client.IsMouseEventsEnabled());
|
|
|
| ui::MouseEvent mouse1(ui::ET_MOUSE_MOVED, gfx::Point(10, 10),
|
| - gfx::Point(10, 10), 0);
|
| + gfx::Point(10, 10), 0, 0);
|
| // Move the cursor again. The cursor should be visible.
|
| dispatcher()->AsRootWindowHostDelegate()->OnHostMouseEvent(&mouse1);
|
| EXPECT_TRUE(cursor_client.IsMouseEventsEnabled());
|
|
|