| Index: ash/shelf/shelf_tooltip_manager_unittest.cc
|
| diff --git a/ash/shelf/shelf_tooltip_manager_unittest.cc b/ash/shelf/shelf_tooltip_manager_unittest.cc
|
| index 6ebb063ec48221ad0406f0cd7ea304eb0c3bfee0..74c875ef3fab6c112931893b1afaefc28836eae5 100644
|
| --- a/ash/shelf/shelf_tooltip_manager_unittest.cc
|
| +++ b/ash/shelf/shelf_tooltip_manager_unittest.cc
|
| @@ -231,9 +231,11 @@ TEST_F(ShelfTooltipManagerTest, HideForMouseMoveEvent) {
|
| ASSERT_FALSE(tooltip_rect.IsEmpty());
|
|
|
| // Shouldn't hide if the mouse is in the tooltip.
|
| - ui::MouseEvent mouse_event(ui::ET_MOUSE_MOVED, tooltip_rect.CenterPoint(),
|
| - tooltip_rect.CenterPoint(), ui::EventTimeForNow(),
|
| - ui::EF_NONE, ui::EF_NONE);
|
| + ui::MouseEvent mouse_event(
|
| + ui::ET_MOUSE_MOVED, tooltip_rect.CenterPoint(),
|
| + tooltip_rect.CenterPoint(), ui::EventTimeForNow(), ui::EF_NONE,
|
| + ui::EF_NONE,
|
| + ui::PointerEventDetails(ui::EventPointerType::POINTER_TYPE_MOUSE));
|
| ui::LocatedEventTestApi test_api(&mouse_event);
|
|
|
| SetEventTarget(root_window, &mouse_event);
|
| @@ -261,9 +263,11 @@ TEST_F(ShelfTooltipManagerTest, HideForMouseClickEvent) {
|
| ASSERT_FALSE(tooltip_rect.IsEmpty());
|
|
|
| // Should hide if the mouse is pressed in the tooltip.
|
| - ui::MouseEvent mouse_event(ui::ET_MOUSE_PRESSED, tooltip_rect.CenterPoint(),
|
| - tooltip_rect.CenterPoint(), ui::EventTimeForNow(),
|
| - ui::EF_NONE, ui::EF_NONE);
|
| + ui::MouseEvent mouse_event(
|
| + ui::ET_MOUSE_PRESSED, tooltip_rect.CenterPoint(),
|
| + tooltip_rect.CenterPoint(), ui::EventTimeForNow(), ui::EF_NONE,
|
| + ui::EF_NONE,
|
| + ui::PointerEventDetails(ui::EventPointerType::POINTER_TYPE_MOUSE));
|
|
|
| SetEventTarget(root_window, &mouse_event);
|
| event_handler->OnMouseEvent(&mouse_event);
|
|
|