| Index: ash/accelerators/accelerator_controller_unittest.cc
|
| diff --git a/ash/accelerators/accelerator_controller_unittest.cc b/ash/accelerators/accelerator_controller_unittest.cc
|
| index 84034f999bb0653e60484fdee3ea356484b8d786..6519ab0554fb9e4741120b2889249990f5483758 100644
|
| --- a/ash/accelerators/accelerator_controller_unittest.cc
|
| +++ b/ash/accelerators/accelerator_controller_unittest.cc
|
| @@ -1302,6 +1302,8 @@ TEST_F(DeprecatedAcceleratorTester, TestNewAccelerators) {
|
| {true, ui::VKEY_ESCAPE, ui::EF_COMMAND_DOWN, SHOW_TASK_MANAGER},
|
| {true, ui::VKEY_K, ui::EF_SHIFT_DOWN | ui::EF_COMMAND_DOWN,
|
| SHOW_IME_MENU_BUBBLE},
|
| + {true, ui::VKEY_H, ui::EF_COMMAND_DOWN | ui::EF_CONTROL_DOWN,
|
| + TOGGLE_HIGH_CONTRAST},
|
| };
|
|
|
| // The NEXT_IME accelerator requires multiple IMEs to be available.
|
| @@ -1313,7 +1315,11 @@ TEST_F(DeprecatedAcceleratorTester, TestNewAccelerators) {
|
| EXPECT_TRUE(ProcessInController(CreateAccelerator(data)));
|
|
|
| // Expect no notifications from the new accelerators.
|
| - EXPECT_TRUE(IsMessageCenterEmpty());
|
| + if (data.action != TOGGLE_HIGH_CONTRAST) {
|
| + // The toggle high contrast accelerator displays a notification specific
|
| + // to the high contrast mode.
|
| + EXPECT_TRUE(IsMessageCenterEmpty());
|
| + }
|
|
|
| // If the action is LOCK_SCREEN, we must reset the state by unlocking the
|
| // screen before we proceed testing the rest of accelerators.
|
|
|