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 import "../network/url_loader.mojom" | 5 import "../network/url_loader.mojom" |
| 6 import "../../../navigation/navigation.mojom" |
6 | 7 |
7 module mojo.launcher { | 8 module mojo.launcher { |
8 | 9 |
9 [Client=LauncherClient] | 10 [Client=LauncherClient] |
10 interface Launcher { | 11 interface Launcher { |
11 Launch(string url); | 12 Launch(string url); |
12 }; | 13 }; |
13 | 14 |
14 [Client=Launcher] | 15 [Client=Launcher] |
15 interface LauncherClient { | 16 interface LauncherClient { |
16 OnLaunch(string handler_url, | 17 OnLaunch(string handler_url, mojo.navigation.ResponseDetails response_details)
; |
17 mojo.URLResponse response, | |
18 handle<data_pipe_consumer> response_body_stream); | |
19 }; | |
20 | |
21 interface Launchable { | |
22 OnLaunch(mojo.URLResponse response, | |
23 handle<data_pipe_consumer> response_body_stream, | |
24 uint32 node_id); | |
25 }; | 18 }; |
26 | 19 |
27 } | 20 } |
OLD | NEW |