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

Unified Diff: mash/app_driver/app_driver.cc

Issue 2296763009: mash: Fix launching touch hud app in mash mode. (Closed)
Patch Set: deps and define Created 4 years, 3 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 | « mash/app_driver/BUILD.gn ('k') | no next file » | 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 60d6725f066db44db96a0d917e7e1d44b6618069..32644b3e6243c9dd924b30a294501be395f09999 100644
--- a/mash/app_driver/app_driver.cc
+++ b/mash/app_driver/app_driver.cc
@@ -25,7 +25,6 @@ enum class Accelerator : uint32_t {
NewChromeTab,
NewChromeIncognitoWindow,
ShowTaskManager,
- ToggleTouchHud,
};
struct AcceleratorSpec {
@@ -45,8 +44,6 @@ AcceleratorSpec g_spec[] = {
ui::mojom::kEventFlagControlDown | ui::mojom::kEventFlagShiftDown},
{Accelerator::ShowTaskManager, ui::mojom::KeyboardCode::ESCAPE,
ui::mojom::kEventFlagShiftDown},
- {Accelerator::ToggleTouchHud, ui::mojom::KeyboardCode::P,
- ui::mojom::kEventFlagControlDown | ui::mojom::kEventFlagAltDown},
};
void AssertTrue(bool success) {
@@ -119,8 +116,6 @@ void AppDriver::OnAccelerator(uint32_t id, std::unique_ptr<ui::Event> event) {
{mojom::kIncognitoWindow, "exe:chrome", LaunchMode::MAKE_NEW}},
{Accelerator::ShowTaskManager,
{mojom::kWindow, "mojo:task_viewer", LaunchMode::DEFAULT}},
- {Accelerator::ToggleTouchHud,
- {mojom::kWindow, "mojo:touch_hud", LaunchMode::DEFAULT}},
};
const auto iter = options.find(static_cast<Accelerator>(id));
« no previous file with comments | « mash/app_driver/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698