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 // |
| 16 // WARNING: |exposed_services| is deprecated and non-functional, and will be |
| 17 // removed. Note that this also means that |services| will become required. |
| 18 // https://github.com/domokit/mojo/issues/762 |
| 19 // |
| 20 // TODO(vtl): Maybe this should be deprecated/removed (in favor of just using |
| 21 // |ApplicationConnector|). |
16 ConnectToApplication(string application_url, | 22 ConnectToApplication(string application_url, |
17 ServiceProvider&? services, | 23 ServiceProvider&? services, |
18 ServiceProvider? exposed_services); | 24 ServiceProvider? exposed_services); |
19 | 25 |
20 CreateApplicationConnector( | 26 CreateApplicationConnector( |
21 ApplicationConnector& application_connector_request); | 27 ApplicationConnector& application_connector_request); |
22 }; | 28 }; |
OLD | NEW |