Index: mojo/services/view_manager/main.cc |
diff --git a/mojo/services/view_manager/main.cc b/mojo/services/view_manager/main.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d3ced3d353e89d4bccc76d2ae5577e90afaebd41 |
--- /dev/null |
+++ b/mojo/services/view_manager/main.cc |
@@ -0,0 +1,12 @@ |
+// Copyright 2014 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 "mojo/application/application_runner_chromium.h" |
+#include "mojo/public/c/system/main.h" |
+#include "mojo/services/view_manager/view_manager_app.h" |
+ |
+MojoResult MojoMain(MojoHandle shell_handle) { |
+ mojo::ApplicationRunnerChromium runner(new view_manager::ViewManagerApp); |
+ return runner.Run(shell_handle); |
+} |