| Index: ash/shelf/shelf_widget_unittest.cc
|
| diff --git a/ash/shelf/shelf_widget_unittest.cc b/ash/shelf/shelf_widget_unittest.cc
|
| index dcc7ee66375654931fd19e4575e60ea6371114f5..6343ae5e9d6868bd698809c32e08dd27d7e0ec11 100644
|
| --- a/ash/shelf/shelf_widget_unittest.cc
|
| +++ b/ash/shelf/shelf_widget_unittest.cc
|
| @@ -210,8 +210,10 @@ TEST_F(ShelfWidgetTest, ShelfEdgeOverlappingWindowHitTestMouse) {
|
| // window-targeter should find |widget| as the target (instead of the
|
| // shelf).
|
| gfx::Point event_location(widget_bounds.x() + 5, shelf_bounds.y() + 1);
|
| - ui::MouseEvent mouse(ui::ET_MOUSE_MOVED, event_location, event_location,
|
| - ui::EventTimeForNow(), ui::EF_NONE, ui::EF_NONE);
|
| + ui::MouseEvent mouse(
|
| + ui::ET_MOUSE_MOVED, event_location, event_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(widget->GetNativeWindow(), target);
|
| }
|
| @@ -225,8 +227,10 @@ TEST_F(ShelfWidgetTest, ShelfEdgeOverlappingWindowHitTestMouse) {
|
| // window-targeter should find |widget| as the target (instead of the
|
| // shelf).
|
| gfx::Point event_location(shelf_bounds.right() - 1, widget_bounds.y() + 5);
|
| - ui::MouseEvent mouse(ui::ET_MOUSE_MOVED, event_location, event_location,
|
| - ui::EventTimeForNow(), ui::EF_NONE, ui::EF_NONE);
|
| + ui::MouseEvent mouse(
|
| + ui::ET_MOUSE_MOVED, event_location, event_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(widget->GetNativeWindow(), target);
|
| }
|
| @@ -250,8 +254,10 @@ TEST_F(ShelfWidgetTest, ShelfEdgeOverlappingWindowHitTestMouse) {
|
| // Create a mouse-event targeting the top of the shelf widget. This time,
|
| // window-target should find the shelf as the target.
|
| gfx::Point event_location(widget_bounds.x() + 5, shelf_bounds.y() + 1);
|
| - ui::MouseEvent mouse(ui::ET_MOUSE_MOVED, event_location, event_location,
|
| - ui::EventTimeForNow(), ui::EF_NONE, ui::EF_NONE);
|
| + ui::MouseEvent mouse(
|
| + ui::ET_MOUSE_MOVED, event_location, event_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(shelf_widget->GetNativeWindow(), target);
|
| }
|
|
|