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

Unified Diff: mash/simple_wm/main.cc

Issue 2511233002: Add the beginning of a simple window manager that we'll support on Windows. (Closed)
Patch Set: . Created 4 years 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/simple_wm/BUILD.gn ('k') | mash/simple_wm/manifest.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/simple_wm/main.cc
diff --git a/mash/simple_wm/main.cc b/mash/simple_wm/main.cc
new file mode 100644
index 0000000000000000000000000000000000000000..423113063476037ca00e57d1f3cd579e7e99ce99
--- /dev/null
+++ b/mash/simple_wm/main.cc
@@ -0,0 +1,12 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "mash/simple_wm/simple_wm.h"
+#include "services/service_manager/public/c/main.h"
+#include "services/service_manager/public/cpp/service_runner.h"
+
+MojoResult ServiceMain(MojoHandle service_request_handle) {
+ service_manager::ServiceRunner runner(new simple_wm::SimpleWM);
+ return runner.Run(service_request_handle);
+}
« no previous file with comments | « mash/simple_wm/BUILD.gn ('k') | mash/simple_wm/manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698