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/application/public/interfaces/shell.mojom"; | 7 import "mojo/shell/public/interfaces/shell.mojom"; |
8 | 8 |
9 struct ApplicationInfo { | 9 struct ApplicationInfo { |
10 int32 id; | 10 int32 id; |
11 string url; | 11 string url; |
12 string qualifier; | 12 string qualifier; |
13 uint32 pid; | 13 uint32 pid; |
14 }; | 14 }; |
15 | 15 |
16 // Implemented by an application that wishes to be informed when the list of | 16 // Implemented by an application that wishes to be informed when the list of |
17 // running applications changes. | 17 // running applications changes. |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 | 58 |
59 // Called by a child process every time it launches a process. This is needed | 59 // Called by a child process every time it launches a process. This is needed |
60 // so that the ChildBroker class in the grandchild process can talk to the one | 60 // so that the ChildBroker class in the grandchild process can talk to the one |
61 // global BrokerState in the parent mojo_runner process. | 61 // global BrokerState in the parent mojo_runner process. |
62 RegisterProcessWithBroker(uint32 pid, | 62 RegisterProcessWithBroker(uint32 pid, |
63 handle pipe); | 63 handle pipe); |
64 | 64 |
65 // The listener is removed when the pipe is closed. | 65 // The listener is removed when the pipe is closed. |
66 AddListener(ApplicationManagerListener listener); | 66 AddListener(ApplicationManagerListener listener); |
67 }; | 67 }; |
OLD | NEW |