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

Unified Diff: components/mus/ws/window_manager_state_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 | « components/mus/ws/window_manager_state.cc ('k') | components/mus/ws/window_tree.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/window_manager_state_unittest.cc
diff --git a/components/mus/ws/window_manager_state_unittest.cc b/components/mus/ws/window_manager_state_unittest.cc
index 12171e10dd62ab9d19a5117317df9a494a2b5354..fd24d9b3eca3266d49a34b5534544c91af35f451 100644
--- a/components/mus/ws/window_manager_state_unittest.cc
+++ b/components/mus/ws/window_manager_state_unittest.cc
@@ -83,8 +83,8 @@ WindowManagerStateTest::WindowManagerStateTest()
std::unique_ptr<Accelerator> WindowManagerStateTest::CreateAccelerator() {
mojom::EventMatcherPtr matcher = mus::CreateKeyMatcher(
- mus::mojom::KeyboardCode::W, mus::mojom::kEventFlagControlDown);
- matcher->accelerator_phase = mojom::AcceleratorPhase::POST_TARGET;
+ ui::mojom::KeyboardCode::W, ui::mojom::kEventFlagControlDown);
+ matcher->accelerator_phase = ui::mojom::AcceleratorPhase::POST_TARGET;
uint32_t accelerator_id = 1;
std::unique_ptr<Accelerator> accelerator(
new Accelerator(accelerator_id, *matcher));
@@ -217,8 +217,8 @@ TEST_F(WindowManagerStateTest, EnqueuedAccelerators) {
tracker->changes()->clear();
ui::KeyEvent key2(ui::ET_KEY_PRESSED, ui::VKEY_Y, ui::EF_CONTROL_DOWN);
mojom::EventMatcherPtr matcher = mus::CreateKeyMatcher(
- mus::mojom::KeyboardCode::Y, mus::mojom::kEventFlagControlDown);
- matcher->accelerator_phase = mojom::AcceleratorPhase::POST_TARGET;
+ ui::mojom::KeyboardCode::Y, ui::mojom::kEventFlagControlDown);
+ matcher->accelerator_phase = ui::mojom::AcceleratorPhase::POST_TARGET;
uint32_t accelerator_id = 2;
std::unique_ptr<Accelerator> accelerator2(
new Accelerator(accelerator_id, *matcher));
« no previous file with comments | « components/mus/ws/window_manager_state.cc ('k') | components/mus/ws/window_tree.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698