OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "examples/ui/tile/tile_app.h" | 5 // This is the "main" for the embeddable Moterm terminal view, which provides |
| 6 // services to the thing embedding it. (This is not very useful as a "top-level" |
| 7 // application.) |
| 8 |
| 9 #include "apps/moterm/moterm_app.h" |
6 #include "mojo/application/application_runner_chromium.h" | 10 #include "mojo/application/application_runner_chromium.h" |
7 #include "mojo/public/c/system/main.h" | 11 #include "mojo/public/c/system/main.h" |
8 | 12 |
9 MojoResult MojoMain(MojoHandle application_request) { | 13 MojoResult MojoMain(MojoHandle application_request) { |
10 mojo::ApplicationRunnerChromium runner(new examples::TileApp); | 14 mojo::ApplicationRunnerChromium runner(new MotermApp()); |
11 return runner.Run(application_request); | 15 return runner.Run(application_request); |
12 } | 16 } |
OLD | NEW |