| Index: ash/mus/accelerator_registrar_unittest.cc
|
| diff --git a/ash/mus/accelerator_registrar_unittest.cc b/ash/mus/accelerator_registrar_unittest.cc
|
| index 180eff8428769fc14033d63ba4a6f734ed7104ee..04d131efc44472ab75886a21eafe4da5fd26d972 100644
|
| --- a/ash/mus/accelerator_registrar_unittest.cc
|
| +++ b/ash/mus/accelerator_registrar_unittest.cc
|
| @@ -86,13 +86,13 @@ TEST_F(AcceleratorRegistrarTest, AcceleratorRegistrarBasic) {
|
| ConnectToRegistrar(®istrar_first);
|
| TestAcceleratorHandler handler_first(std::move(registrar_first));
|
| EXPECT_TRUE(handler_first.AttemptToInstallAccelerator(
|
| - 1, ::mus::CreateKeyMatcher(::mus::mojom::KeyboardCode::T,
|
| - ::mus::mojom::kEventFlagShiftDown)));
|
| + 1, ::mus::CreateKeyMatcher(ui::mojom::KeyboardCode::T,
|
| + ui::mojom::kEventFlagShiftDown)));
|
| // Attempting to add an accelerator with the same accelerator id from the same
|
| // registrar should fail.
|
| EXPECT_FALSE(handler_first.AttemptToInstallAccelerator(
|
| - 1, ::mus::CreateKeyMatcher(::mus::mojom::KeyboardCode::N,
|
| - ::mus::mojom::kEventFlagShiftDown)));
|
| + 1, ::mus::CreateKeyMatcher(ui::mojom::KeyboardCode::N,
|
| + ui::mojom::kEventFlagShiftDown)));
|
|
|
| // Attempting to add an accelerator with the same id from a different
|
| // registrar should be OK.
|
| @@ -100,16 +100,16 @@ TEST_F(AcceleratorRegistrarTest, AcceleratorRegistrarBasic) {
|
| ConnectToRegistrar(®istrar_second);
|
| TestAcceleratorHandler handler_second(std::move(registrar_second));
|
| EXPECT_TRUE(handler_second.AttemptToInstallAccelerator(
|
| - 1, ::mus::CreateKeyMatcher(::mus::mojom::KeyboardCode::N,
|
| - ::mus::mojom::kEventFlagShiftDown)));
|
| + 1, ::mus::CreateKeyMatcher(ui::mojom::KeyboardCode::N,
|
| + ui::mojom::kEventFlagShiftDown)));
|
|
|
| // But attempting to add an accelerator with the same matcher should fail.
|
| EXPECT_FALSE(handler_first.AttemptToInstallAccelerator(
|
| - 3, ::mus::CreateKeyMatcher(::mus::mojom::KeyboardCode::N,
|
| - ::mus::mojom::kEventFlagShiftDown)));
|
| + 3, ::mus::CreateKeyMatcher(ui::mojom::KeyboardCode::N,
|
| + ui::mojom::kEventFlagShiftDown)));
|
| EXPECT_FALSE(handler_second.AttemptToInstallAccelerator(
|
| - 3, ::mus::CreateKeyMatcher(::mus::mojom::KeyboardCode::N,
|
| - ::mus::mojom::kEventFlagShiftDown)));
|
| + 3, ::mus::CreateKeyMatcher(ui::mojom::KeyboardCode::N,
|
| + ui::mojom::kEventFlagShiftDown)));
|
| }
|
|
|
| } // namespace mus
|
|
|