| Index: ui/views/controls/button/menu_button_unittest.cc
|
| diff --git a/ui/views/controls/button/menu_button_unittest.cc b/ui/views/controls/button/menu_button_unittest.cc
|
| index c0fb1c320f7b8145898c57fdaf93db53b75bfc5d..573fca0f99dcaa8c74783f15c16219d2ccb781b7 100644
|
| --- a/ui/views/controls/button/menu_button_unittest.cc
|
| +++ b/ui/views/controls/button/menu_button_unittest.cc
|
| @@ -345,6 +345,13 @@ TEST_F(MenuButtonTest, ButtonStateForMenuButtonsWithPressedLocks) {
|
| // mouse-move event. https://crbug.com/615033
|
| if (IsMus())
|
| return;
|
| +
|
| + // Similarly for aura-mus-client the location of the cursor is not updated by
|
| + // EventGenerator so that IsMouseHovered() checks the wrong thing.
|
| + // https://crbug.com/615033.
|
| + if (IsAuraMusClient())
|
| + return;
|
| +
|
| CreateMenuButtonWithNoListener();
|
|
|
| // Move the mouse over the button; the button should be in a hovered state.
|
| @@ -537,6 +544,10 @@ TEST_F(MenuButtonTest, DraggableMenuButtonDoesNotActivateOnDrag) {
|
| // https://crbug.com/614037.
|
| if (IsMus())
|
| return;
|
| + // TODO: test uses GetContext(), which is not applicable to aura-mus.
|
| + // http://crbug.com/663809.
|
| + if (IsAuraMusClient())
|
| + return;
|
| TestMenuButtonListener menu_button_listener;
|
| CreateMenuButtonWithMenuButtonListener(&menu_button_listener);
|
| TestDragController drag_controller;
|
| @@ -563,6 +574,11 @@ TEST_F(MenuButtonTest, ActivateDropDownOnGestureTap) {
|
| // mouse-move event. https://crbug.com/615033
|
| if (IsMus())
|
| return;
|
| + // Similarly for aura-mus-client the location of the cursor is not updated by
|
| + // EventGenerator so that IsMouseHovered() checks the wrong thing.
|
| + // https://crbug.com/615033.
|
| + if (IsAuraMusClient())
|
| + return;
|
| TestMenuButtonListener menu_button_listener;
|
| CreateMenuButtonWithMenuButtonListener(&menu_button_listener);
|
|
|
|
|