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

Unified Diff: apps/moterm/main.cc

Issue 1556683004: Port Moterm to Mozart. (Closed) Base URL: git@github.com:domokit/mojo.git@moz-16
Patch Set: fix nits Created 4 years, 11 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 | « apps/moterm/gl_helper_unittest.cc ('k') | apps/moterm/moterm_app.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/moterm/main.cc
diff --git a/examples/ui/tile/main.cc b/apps/moterm/main.cc
similarity index 57%
copy from examples/ui/tile/main.cc
copy to apps/moterm/main.cc
index 930aca310e0a49207fe91b6ae7f584530ea4067b..abeb499f4867369a1cd060c9fa218926ed7639bd 100644
--- a/examples/ui/tile/main.cc
+++ b/apps/moterm/main.cc
@@ -2,11 +2,15 @@
// 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 "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);
}
« no previous file with comments | « apps/moterm/gl_helper_unittest.cc ('k') | apps/moterm/moterm_app.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698