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/connector.mojom"; |
7 import "mojo/shell/public/interfaces/interface_provider.mojom"; | 8 import "mojo/shell/public/interfaces/interface_provider.mojom"; |
8 import "mojo/shell/public/interfaces/shell.mojom"; | |
9 | 9 |
10 // Implemented by something "known to" the Mojo Shell (e.g. an application or | 10 // Implemented by something "known to" the Mojo Shell (e.g. an application or |
11 // service), for which an instance is tracked. It allows the implementor to | 11 // service), for which an instance is tracked. It allows the implementor to |
12 // receive lifecycle events and service inbound connection attempts. | 12 // receive lifecycle events and service inbound connection attempts. |
13 interface ShellClient { | 13 interface ShellClient { |
14 // Called by the shell once an instance for this application has been created. | 14 // Called by the shell once an instance for this application has been created. |
15 // This method will be called exactly once before any other method is called. | 15 // This method will be called exactly once before any other method is called. |
16 // | 16 // |
17 // Parameters: | 17 // Parameters: |
18 // | 18 // |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 // The resolved name used to complete this connection. | 75 // The resolved name used to complete this connection. |
76 // | 76 // |
77 AcceptConnection(string requestor_name, | 77 AcceptConnection(string requestor_name, |
78 uint32 requestor_id, | 78 uint32 requestor_id, |
79 uint32 requestor_user_id, | 79 uint32 requestor_user_id, |
80 InterfaceProvider&? local_interfaces, | 80 InterfaceProvider&? local_interfaces, |
81 InterfaceProvider? remote_interfaces, | 81 InterfaceProvider? remote_interfaces, |
82 array<string> allowed_interfaces, | 82 array<string> allowed_interfaces, |
83 string resolved_name); | 83 string resolved_name); |
84 }; | 84 }; |
OLD | NEW |