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; | 5 module mojo; |
6 | 6 |
7 import "mojo/public/interfaces/application/shell.mojom"; | 7 import "mojo/public/interfaces/application/shell.mojom"; |
8 | 8 |
9 // This interface allows applications running outside the auspices of a Shell | 9 // This interface allows applications running outside the auspices of a Shell |
10 // to request registration at the given application_url. | 10 // to request registration at the given application_url. |
11 // The shell implementing this interface will make the calling application | 11 // The shell implementing this interface will make the calling application |
12 // available to other apps at that URL and pass back a Shell bound to | 12 // available to other apps at that URL and pass back a Shell bound to |
13 // an impl capable of servicing the external application's connection requests. | 13 // an impl capable of servicing the external application's connection requests. |
14 interface ExternalApplicationRegistrar { | 14 interface ExternalApplicationRegistrar { |
15 Register(string application_url) => (Shell shell); | 15 Register(string application_url) => (Shell shell); |
16 }; | 16 }; |
OLD | NEW |