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