blob: 4a6543d2bbd5faa9e5aa86f8980ea45165246825 [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/noodles/noodles_app.h"
#include "examples/ui/noodles/noodles_view.h"
namespace examples {
NoodlesApp::NoodlesApp() {}
NoodlesApp::~NoodlesApp() {}
void NoodlesApp::CreateView(
const std::string& connection_url,
mojo::InterfaceRequest<mojo::ui::ViewOwner> view_owner_request,
mojo::InterfaceRequest<mojo::ServiceProvider> services,
mojo::ServiceProviderPtr exposed_services) {
new NoodlesView(app_impl(), view_owner_request.Pass());
}
} // namespace examples