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 // TODO(vtl): mojom currently doesn't support nested modules. :( | 5 module mojo.shell { |
6 module mojo_shell { | |
7 | 6 |
8 [Peer=AppChildControllerClient] | 7 [Client=AppChildControllerClient] |
9 interface AppChildController { | 8 interface AppChildController { |
10 // TODO(vtl): |service| should be of a more specific type. | 9 // TODO(vtl): |service| should be of a more specific type. |
11 StartApp(string app_path, handle<message_pipe> service); | 10 StartApp(string app_path, handle<message_pipe> service); |
12 }; | 11 }; |
13 | 12 |
14 [Peer=AppChildController] | |
15 interface AppChildControllerClient { | 13 interface AppChildControllerClient { |
16 AppCompleted(int32 result); | 14 AppCompleted(int32 result); |
17 }; | 15 }; |
18 | 16 |
19 } // module mojo_shell | 17 } // module mojo.shell |
OLD | NEW |