| Index: ash/wm/workspace_controller_unittest.cc
|
| diff --git a/ash/wm/workspace_controller_unittest.cc b/ash/wm/workspace_controller_unittest.cc
|
| index 3739158577a6a31a7d5e5282f277b6136d93cacf..a4d5575cfe2a8c27f3a2b6d3224a03626045ea1d 100644
|
| --- a/ash/wm/workspace_controller_unittest.cc
|
| +++ b/ash/wm/workspace_controller_unittest.cc
|
| @@ -1478,8 +1478,10 @@ TEST_F(WorkspaceControllerTest, WindowEdgeHitTest) {
|
| for (int i = 0; i < kNumPoints; ++i) {
|
| SCOPED_TRACE(points[i].direction);
|
| const gfx::Point& location = points[i].location;
|
| - ui::MouseEvent mouse(ui::ET_MOUSE_MOVED, location, location,
|
| - ui::EventTimeForNow(), ui::EF_NONE, ui::EF_NONE);
|
| + ui::MouseEvent mouse(
|
| + ui::ET_MOUSE_MOVED, location, location, ui::EventTimeForNow(),
|
| + ui::EF_NONE, ui::EF_NONE,
|
| + ui::PointerEventDetails(ui::EventPointerType::POINTER_TYPE_MOUSE));
|
| ui::EventTarget* target = targeter->FindTargetForEvent(root, &mouse);
|
| EXPECT_EQ(expected_target, target);
|
|
|
| @@ -1519,8 +1521,10 @@ TEST_F(WorkspaceControllerTest, WindowEdgeMouseHitTestPanel) {
|
| for (int i = 0; i < kNumPoints; ++i) {
|
| SCOPED_TRACE(points[i].direction);
|
| const gfx::Point& location = points[i].location;
|
| - ui::MouseEvent mouse(ui::ET_MOUSE_MOVED, location, location,
|
| - ui::EventTimeForNow(), ui::EF_NONE, ui::EF_NONE);
|
| + ui::MouseEvent mouse(
|
| + ui::ET_MOUSE_MOVED, location, location, ui::EventTimeForNow(),
|
| + ui::EF_NONE, ui::EF_NONE,
|
| + ui::PointerEventDetails(ui::EventPointerType::POINTER_TYPE_MOUSE));
|
| ui::EventTarget* target = targeter->FindTargetForEvent(root, &mouse);
|
| if (points[i].is_target_hit)
|
| EXPECT_EQ(window.get(), target);
|
| @@ -1596,8 +1600,10 @@ TEST_F(WorkspaceControllerTest, WindowEdgeHitTestDocked) {
|
| for (int i = 0; i < kNumPoints; ++i) {
|
| SCOPED_TRACE(points[i].direction);
|
| const gfx::Point& location = points[i].location;
|
| - ui::MouseEvent mouse(ui::ET_MOUSE_MOVED, location, location,
|
| - ui::EventTimeForNow(), ui::EF_NONE, ui::EF_NONE);
|
| + ui::MouseEvent mouse(
|
| + ui::ET_MOUSE_MOVED, location, location, ui::EventTimeForNow(),
|
| + ui::EF_NONE, ui::EF_NONE,
|
| + ui::PointerEventDetails(ui::EventPointerType::POINTER_TYPE_MOUSE));
|
| ui::EventTarget* target = targeter->FindTargetForEvent(root, &mouse);
|
| if (points[i].is_target_hit)
|
| EXPECT_EQ(window.get(), target);
|
|
|