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

Unified Diff: mash/app_driver/app_driver.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 | « content/renderer/mus/compositor_mus_connection_unittest.cc ('k') | ui/events/mojo/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/app_driver/app_driver.cc
diff --git a/mash/app_driver/app_driver.cc b/mash/app_driver/app_driver.cc
index 327589dc3645a9d0af41588614318071d3e21ef5..01c9f2545c1eae2b04ef1568509b4f604e100410 100644
--- a/mash/app_driver/app_driver.cc
+++ b/mash/app_driver/app_driver.cc
@@ -29,21 +29,21 @@ enum class Accelerator : uint32_t {
struct AcceleratorSpec {
Accelerator id;
- mus::mojom::KeyboardCode keyboard_code;
+ ui::mojom::KeyboardCode keyboard_code;
// A bitfield of kEventFlag* and kMouseEventFlag* values in
// input_event_constants.mojom.
int event_flags;
};
AcceleratorSpec g_spec[] = {
- {Accelerator::NewChromeWindow, mus::mojom::KeyboardCode::N,
- mus::mojom::kEventFlagControlDown},
- {Accelerator::NewChromeTab, mus::mojom::KeyboardCode::T,
- mus::mojom::kEventFlagControlDown},
- {Accelerator::NewChromeIncognitoWindow, mus::mojom::KeyboardCode::N,
- mus::mojom::kEventFlagControlDown | mus::mojom::kEventFlagShiftDown},
- {Accelerator::ShowTaskManager, mus::mojom::KeyboardCode::ESCAPE,
- mus::mojom::kEventFlagShiftDown},
+ {Accelerator::NewChromeWindow, ui::mojom::KeyboardCode::N,
+ ui::mojom::kEventFlagControlDown},
+ {Accelerator::NewChromeTab, ui::mojom::KeyboardCode::T,
+ ui::mojom::kEventFlagControlDown},
+ {Accelerator::NewChromeIncognitoWindow, ui::mojom::KeyboardCode::N,
+ ui::mojom::kEventFlagControlDown | ui::mojom::kEventFlagShiftDown},
+ {Accelerator::ShowTaskManager, ui::mojom::KeyboardCode::ESCAPE,
+ ui::mojom::kEventFlagShiftDown},
};
void AssertTrue(bool success) {
« no previous file with comments | « content/renderer/mus/compositor_mus_connection_unittest.cc ('k') | ui/events/mojo/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698