blob: 79818ee24142e4975daec67fc3d161de277886f1 [file] [log] [blame]
// 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/spinning_cube/spinning_cube_app.h"
#include "examples/ui/spinning_cube/spinning_cube_view.h"
namespace examples {
SpinningCubeApp::SpinningCubeApp() {}
SpinningCubeApp::~SpinningCubeApp() {}
bool SpinningCubeApp::CreateView(
const std::string& connection_url,
mojo::InterfaceRequest<mojo::ServiceProvider> services,
mojo::ServiceProviderPtr exposed_services,
const mojo::ui::ViewProvider::CreateViewCallback& callback) {
new SpinningCubeView(app_impl(), callback);
return true;
}
} // namespace examples