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.shell.mojom; | 5 module mojo.shell.mojom; |
6 | 6 |
7 import "mojo/shell/public/interfaces/capabilities.mojom"; | 7 import "services/shell/public/interfaces/capabilities.mojom"; |
8 import "mojo/shell/public/interfaces/connector.mojom"; | 8 import "services/shell/public/interfaces/connector.mojom"; |
9 import "mojo/shell/public/interfaces/interface_provider.mojom"; | 9 import "services/shell/public/interfaces/interface_provider.mojom"; |
10 | 10 |
11 // Implemented by something "known to" the Mojo Shell (e.g. an application or | 11 // Implemented by something "known to" the Mojo Shell (e.g. an application or |
12 // service), for which an instance is tracked. It allows the implementor to | 12 // service), for which an instance is tracked. It allows the implementor to |
13 // receive lifecycle events and service inbound connection attempts. | 13 // receive lifecycle events and service inbound connection attempts. |
14 interface ShellClient { | 14 interface ShellClient { |
15 // Called by the shell once an instance for this application has been created. | 15 // Called by the shell once an instance for this application has been created. |
16 // This method will be called exactly once before any other method is called. | 16 // This method will be called exactly once before any other method is called. |
17 // | 17 // |
18 // Parameters: | 18 // Parameters: |
19 // | 19 // |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 // resolved_name | 69 // resolved_name |
70 // The resolved name used to complete this connection. | 70 // The resolved name used to complete this connection. |
71 // | 71 // |
72 AcceptConnection(Identity source, | 72 AcceptConnection(Identity source, |
73 uint32 source_id, | 73 uint32 source_id, |
74 InterfaceProvider&? local_interfaces, | 74 InterfaceProvider&? local_interfaces, |
75 InterfaceProvider? remote_interfaces, | 75 InterfaceProvider? remote_interfaces, |
76 CapabilityRequest allowed_capabilities, | 76 CapabilityRequest allowed_capabilities, |
77 string resolved_name); | 77 string resolved_name); |
78 }; | 78 }; |
OLD | NEW |