| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/shell.mojom"; | 7 import "mojo/shell/public/interfaces/shell.mojom"; |
| 8 | 8 |
| 9 struct ApplicationInfo { | 9 struct ApplicationInfo { |
| 10 uint32 id; | 10 uint32 id; |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 }; | 47 }; |
| 48 | 48 |
| 49 interface ApplicationManager { | 49 interface ApplicationManager { |
| 50 // Instructs the ApplicationManager to create an instance for an existing | 50 // Instructs the ApplicationManager to create an instance for an existing |
| 51 // process at the other end of |channel|, and perform applicable | 51 // process at the other end of |channel|, and perform applicable |
| 52 // initialization. This assumes the target process will bind the other end of | 52 // initialization. This assumes the target process will bind the other end of |
| 53 // channel to an implementation of ChildController and bind an Application | 53 // channel to an implementation of ChildController and bind an Application |
| 54 // request there. | 54 // request there. |
| 55 CreateInstanceForHandle(handle channel, | 55 CreateInstanceForHandle(handle channel, |
| 56 string url, | 56 string url, |
| 57 mojo.CapabilityFilter filter, | 57 CapabilityFilter filter, |
| 58 PIDReceiver& pid_receiver); | 58 PIDReceiver& pid_receiver); |
| 59 | 59 |
| 60 // The listener is removed when the pipe is closed. | 60 // The listener is removed when the pipe is closed. |
| 61 AddListener(ApplicationManagerListener listener); | 61 AddListener(ApplicationManagerListener listener); |
| 62 }; | 62 }; |
| OLD | NEW |