| Index: ui/views/widget/native_widget_aura_unittest.cc
|
| diff --git a/ui/views/widget/native_widget_aura_unittest.cc b/ui/views/widget/native_widget_aura_unittest.cc
|
| index 594ebb382ec493c710f83ac2c3acca7226318c1d..8db1611a510cc4f4af6c03fb76fc5c7716470ae1 100644
|
| --- a/ui/views/widget/native_widget_aura_unittest.cc
|
| +++ b/ui/views/widget/native_widget_aura_unittest.cc
|
| @@ -335,7 +335,7 @@ TEST_F(NativeWidgetAuraTest, PreferViewLayersToChildWindows) {
|
| // Point is over |child|.
|
| EXPECT_EQ(child->GetNativeWindow(),
|
| parent->GetNativeWindow()->GetEventHandlerForPoint(
|
| - gfx::Point(50, 50)));
|
| + gfx::Point(50, 50), ui::ET_MOUSE_ENTERED));
|
|
|
| // Create a view with a layer and stack it at the top (above |child|).
|
| views::View* view_with_layer = new views::View;
|
| @@ -346,26 +346,26 @@ TEST_F(NativeWidgetAuraTest, PreferViewLayersToChildWindows) {
|
| // Point is over |view_with_layer|, it should get the event.
|
| EXPECT_EQ(parent->GetNativeWindow(),
|
| parent->GetNativeWindow()->GetEventHandlerForPoint(
|
| - gfx::Point(20, 20)));
|
| + gfx::Point(20, 20), ui::ET_MOUSE_ENTERED));
|
|
|
| // Point is over |child|, it should get the event.
|
| EXPECT_EQ(child->GetNativeWindow(),
|
| parent->GetNativeWindow()->GetEventHandlerForPoint(
|
| - gfx::Point(70, 70)));
|
| + gfx::Point(70, 70), ui::ET_MOUSE_ENTERED));
|
|
|
| // Move |child| to the top and make sure it gets the event.
|
| child->GetNativeWindow()->layer()->parent()->StackAtTop(
|
| child->GetNativeWindow()->layer());
|
| EXPECT_EQ(child->GetNativeWindow(),
|
| parent->GetNativeWindow()->GetEventHandlerForPoint(
|
| - gfx::Point(20, 20)));
|
| + gfx::Point(20, 20), ui::ET_MOUSE_ENTERED));
|
|
|
| delete view_with_layer;
|
| view_with_layer = NULL;
|
|
|
| EXPECT_EQ(child->GetNativeWindow(),
|
| parent->GetNativeWindow()->GetEventHandlerForPoint(
|
| - gfx::Point(20, 20)));
|
| + gfx::Point(20, 20), ui::ET_MOUSE_ENTERED));
|
|
|
| // Work around for bug in NativeWidgetAura.
|
| // TODO: fix bug and remove this.
|
|
|