| Index: examples/ui/shapes/shapes_app.cc
|
| diff --git a/examples/ui/shapes/shapes_app.cc b/examples/ui/shapes/shapes_app.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..86443a1a0c37e0eb3f10669fc048b7df278b1176
|
| --- /dev/null
|
| +++ b/examples/ui/shapes/shapes_app.cc
|
| @@ -0,0 +1,24 @@
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// 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 "examples/ui/shapes/shapes_view.h"
|
| +
|
| +namespace examples {
|
| +
|
| +ShapesApp::ShapesApp() {}
|
| +
|
| +ShapesApp::~ShapesApp() {}
|
| +
|
| +bool ShapesApp::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);
|
| + return true;
|
| +}
|
| +
|
| +} // namespace examples
|
|
|