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" | |
10 #include "base/logging.h" | |
viettrungluu
2016/01/26 18:33:35
This include seems unnecessary.
jeffbrown
2016/01/26 23:10:44
Done.
| |
11 #include "base/macros.h" | |
viettrungluu
2016/01/26 18:33:35
"
jeffbrown
2016/01/26 23:10:44
Done.
| |
6 #include "mojo/application/application_runner_chromium.h" | 12 #include "mojo/application/application_runner_chromium.h" |
7 #include "mojo/public/c/system/main.h" | 13 #include "mojo/public/c/system/main.h" |
8 | 14 |
9 MojoResult MojoMain(MojoHandle application_request) { | 15 MojoResult MojoMain(MojoHandle application_request) { |
10 mojo::ApplicationRunnerChromium runner(new examples::TileApp); | 16 mojo::ApplicationRunnerChromium runner(new MotermApp()); |
11 return runner.Run(application_request); | 17 return runner.Run(application_request); |
12 } | 18 } |
OLD | NEW |