OLD | NEW |
| (Empty) |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 module mojo; | |
6 | |
7 import "mojo/public/interfaces/application/application.mojom"; | |
8 import "mojo/public/interfaces/application/service_provider.mojom"; | |
9 | |
10 // The Shell is the finder and launcher of Applications. An Application uses | |
11 // it's Shell interface to connect to other Applications. | |
12 [Client=Application] | |
13 interface Shell { | |
14 // Loads |application_url|. mojo:{service} will result in the user of the valu
e of the | |
15 // --origin flag to the shell being used. | |
16 // |services| can be used to look up services provided by the application at |
application_url|. | |
17 // |exposed_services| can be used to expose services to the application at |ap
plication_url|. | |
18 ConnectToApplication(string application_url, | |
19 ServiceProvider&? services, | |
20 ServiceProvider? exposed_services); | |
21 }; | |
OLD | NEW |