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

Unified Diff: mash/package/mash_packaged_service.cc

Issue 2316553003: mash: Add autoclick app. (Closed)
Patch Set: MouseEvent; if etc. 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/package/mash_packaged_service.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/package/mash_packaged_service.cc
diff --git a/mash/package/mash_packaged_service.cc b/mash/package/mash_packaged_service.cc
index 0cb24c03088fd43d4c49b0cbb0d24c1970d609ea..513653421a70df13bb51e8f84c71766a33f3f0ea 100644
--- a/mash/package/mash_packaged_service.cc
+++ b/mash/package/mash_packaged_service.cc
@@ -4,6 +4,7 @@
#include "mash/package/mash_packaged_service.h"
+#include "ash/autoclick/mus/autoclick_application.h"
#include "ash/mus/window_manager_application.h"
#include "ash/touch_hud/mus/touch_hud_application.h"
#include "mash/app_driver/app_driver.h"
@@ -52,10 +53,13 @@ void MashPackagedService::CreateService(shell::mojom::ServiceRequest request,
NOTREACHED();
}
+// Please see header file for details on adding new services.
std::unique_ptr<shell::Service> MashPackagedService::CreateService(
const std::string& name) {
if (name == "mojo:ash")
return base::WrapUnique(new ash::mus::WindowManagerApplication);
+ if (name == "mojo:accessibility_autoclick")
+ return base::WrapUnique(new ash::autoclick::AutoclickApplication);
if (name == "mojo:touch_hud")
return base::WrapUnique(new ash::touch_hud::TouchHudApplication);
if (name == "mojo:mash_session")
« no previous file with comments | « mash/package/mash_packaged_service.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698