| Index: ash/wm/overview/window_selector_unittest.cc
|
| diff --git a/ash/wm/overview/window_selector_unittest.cc b/ash/wm/overview/window_selector_unittest.cc
|
| index 6bea3bd2a0b0661a480db08a861de0a60623fdce..7d09de190efe850c3b648db5c4aaccff64090184 100644
|
| --- a/ash/wm/overview/window_selector_unittest.cc
|
| +++ b/ash/wm/overview/window_selector_unittest.cc
|
| @@ -719,8 +719,10 @@ TEST_F(WindowSelectorTest, WindowDoesNotReceiveEvents) {
|
|
|
| gfx::Point point1(window_bounds.x() + 10, window_bounds.y() + 10);
|
|
|
| - ui::MouseEvent event1(ui::ET_MOUSE_PRESSED, point1, point1,
|
| - ui::EventTimeForNow(), ui::EF_NONE, ui::EF_NONE);
|
| + ui::MouseEvent event1(
|
| + ui::ET_MOUSE_PRESSED, point1, point1, ui::EventTimeForNow(), ui::EF_NONE,
|
| + ui::EF_NONE,
|
| + ui::PointerEventDetails(ui::EventPointerType::POINTER_TYPE_MOUSE));
|
|
|
| ui::EventTarget* root_target = root_window;
|
| ui::EventTargeter* targeter = root_target->GetEventTargeter();
|
| @@ -735,8 +737,10 @@ TEST_F(WindowSelectorTest, WindowDoesNotReceiveEvents) {
|
| // The bounds have changed, take that into account.
|
| gfx::RectF bounds = GetTransformedBoundsInRootWindow(window.get());
|
| gfx::Point point2(bounds.x() + 10, bounds.y() + 10);
|
| - ui::MouseEvent event2(ui::ET_MOUSE_PRESSED, point2, point2,
|
| - ui::EventTimeForNow(), ui::EF_NONE, ui::EF_NONE);
|
| + ui::MouseEvent event2(
|
| + ui::ET_MOUSE_PRESSED, point2, point2, ui::EventTimeForNow(), ui::EF_NONE,
|
| + ui::EF_NONE,
|
| + ui::PointerEventDetails(ui::EventPointerType::POINTER_TYPE_MOUSE));
|
|
|
| // Now the transparent window should be intercepting this event.
|
| EXPECT_NE(window, static_cast<aura::Window*>(
|
|
|