| 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"
|
| +#include "base/macros.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);
|
| }
|
|
|