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

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: address feedback 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
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);
}

Powered by Google App Engine
This is Rietveld 408576698