blob: 1adf1e67e4b78aa1a0d3ea16fb2c330d584f4101 [file] [log] [blame]
// Copyright 2014 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.
module mojo;
import "mojo/public/interfaces/application/application.mojom";
import "mojo/public/interfaces/application/service_provider.mojom";
// The Shell is the finder and launcher of Applications. An Application uses
// it's Shell interface to connect to other Applications.
[Client=Application]
interface Shell {
// Loads |application_url|. mojo:{service} will result in the user of the value of the
// --origin flag to the shell being used.
// |services| can be used to look up services provided by the application at |application_url|.
// |exposed_services| can be used to expose services to the application at |application_url|.
ConnectToApplication(string application_url,
ServiceProvider&? services,
ServiceProvider? exposed_services);
};