Index: apps/moterm/main.cc |
diff --git a/examples/ui/tile/main.cc b/apps/moterm/main.cc |
similarity index 52% |
copy from examples/ui/tile/main.cc |
copy to apps/moterm/main.cc |
index 930aca310e0a49207fe91b6ae7f584530ea4067b..a170cf2afba203fbe659e5649dc87bb97780ad5d 100644 |
--- a/examples/ui/tile/main.cc |
+++ b/apps/moterm/main.cc |
@@ -2,11 +2,17 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "examples/ui/tile/tile_app.h" |
+// This is the "main" for the embeddable Moterm terminal view, which provides |
+// services to the thing embedding it. (This is not very useful as a "top-level" |
+// application.) |
+ |
+#include "apps/moterm/moterm_app.h" |
+#include "base/logging.h" |
viettrungluu
2016/01/26 18:33:35
This include seems unnecessary.
jeffbrown
2016/01/26 23:10:44
Done.
|
+#include "base/macros.h" |
viettrungluu
2016/01/26 18:33:35
"
jeffbrown
2016/01/26 23:10:44
Done.
|
#include "mojo/application/application_runner_chromium.h" |
#include "mojo/public/c/system/main.h" |
MojoResult MojoMain(MojoHandle application_request) { |
- mojo::ApplicationRunnerChromium runner(new examples::TileApp); |
+ mojo::ApplicationRunnerChromium runner(new MotermApp()); |
return runner.Run(application_request); |
} |