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 module mojo; |
| 6 |
5 import "mojo/public/interfaces/application/application.mojom"; | 7 import "mojo/public/interfaces/application/application.mojom"; |
6 import "mojo/public/interfaces/application/service_provider.mojom"; | 8 import "mojo/public/interfaces/application/service_provider.mojom"; |
7 | 9 |
8 module mojo { | |
9 | |
10 // The Shell is the finder and launcher of Applications. An Application uses | 10 // The Shell is the finder and launcher of Applications. An Application uses |
11 // it's Shell interface to connect to other Applications. | 11 // it's Shell interface to connect to other Applications. |
12 [Client=Application] | 12 [Client=Application] |
13 interface Shell { | 13 interface Shell { |
14 // Loads url. mojo:{service} will result in the user of the value of the | 14 // Loads url. mojo:{service} will result in the user of the value of the |
15 // --origin flag to the shell being used. | 15 // --origin flag to the shell being used. |
16 ConnectToApplication(string? application_url, ServiceProvider&? provider); | 16 ConnectToApplication(string? application_url, ServiceProvider&? provider); |
17 }; | 17 }; |
18 | |
19 } | |
OLD | NEW |