Index: apps/moterm/moterm_app.cc |
diff --git a/examples/ui/shapes/shapes_app.cc b/apps/moterm/moterm_app.cc |
similarity index 60% |
copy from examples/ui/shapes/shapes_app.cc |
copy to apps/moterm/moterm_app.cc |
index 86443a1a0c37e0eb3f10669fc048b7df278b1176..efdb0fa6c22eef2aa5b0a198b2d04b499bc68113 100644 |
--- a/examples/ui/shapes/shapes_app.cc |
+++ b/apps/moterm/moterm_app.cc |
@@ -2,23 +2,19 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "examples/ui/shapes/shapes_app.h" |
+#include "apps/moterm/moterm_app.h" |
-#include "examples/ui/shapes/shapes_view.h" |
+#include "apps/moterm/moterm_view.h" |
-namespace examples { |
+MotermApp::MotermApp() {} |
-ShapesApp::ShapesApp() {} |
+MotermApp::~MotermApp() {} |
-ShapesApp::~ShapesApp() {} |
- |
-bool ShapesApp::CreateView( |
+bool MotermApp::CreateView( |
const std::string& connection_url, |
mojo::InterfaceRequest<mojo::ServiceProvider> services, |
mojo::ServiceProviderPtr exposed_services, |
const mojo::ui::ViewProvider::CreateViewCallback& callback) { |
- new ShapesView(app_impl(), callback); |
+ new MotermView(app_impl(), services.Pass(), callback); |
return true; |
} |
- |
-} // namespace examples |