OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 [DartPackage="mojo"] | 5 [DartPackage="mojo"] |
6 module mojo; | 6 module mojo; |
7 | 7 |
8 import "mojo/public/interfaces/application/application_connector.mojom"; | 8 import "mojo/public/interfaces/application/application_connector.mojom"; |
9 import "mojo/public/interfaces/application/service_provider.mojom"; | 9 import "mojo/public/interfaces/application/service_provider.mojom"; |
10 | 10 |
11 // An interface through which a Mojo application may communicate with the Mojo | 11 // An interface through which a Mojo application may communicate with the Mojo |
12 // system and request connections to other applications. | 12 // system and request connections to other applications. |
13 interface Shell { | 13 interface Shell { |
14 // See |ApplicationConnector.ConnectToApplication()|. | 14 // See |ApplicationConnector.ConnectToApplication()|. |
15 // TODO(vtl): Maybe this should be deprecated/removed. | 15 // TODO(vtl): Maybe this should be deprecated/removed. |
16 ConnectToApplication(string application_url, | 16 ConnectToApplication(string application_url, ServiceProvider&? services, Servi
ceProvider? exposed_services); |
17 ServiceProvider&? services, | |
18 ServiceProvider? exposed_services); | |
19 | 17 |
20 CreateApplicationConnector( | 18 CreateApplicationConnector(ApplicationConnector& application_connector_request
); |
21 ApplicationConnector& application_connector_request); | |
22 }; | 19 }; |
OLD | NEW |