Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(999)

Unified Diff: ash/mus/accelerator_registrar_unittest.cc

Issue 2057793002: Reorganize event mojom files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed typos in comments. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ash/mus/root_window_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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(&registrar_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(&registrar_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
« no previous file with comments | « no previous file | ash/mus/root_window_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698