summaryrefslogtreecommitdiffstats
path: root/mojo/services/public/interfaces/launcher/launcher.mojom
blob: 95957dd9c6f71f5fe21012130a4ce4de078d9d34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

import "../network/url_loader.mojom"

module mojo.launcher {

[Client=LauncherClient]
interface Launcher {
  Launch(string url);
};

[Client=Launcher]
interface LauncherClient {
  OnLaunch(string handler_url,
           mojo.URLResponse response,
           handle<data_pipe_consumer> response_body_stream);
};

interface Launchable {
  OnLaunch(mojo.URLResponse response,
           handle<data_pipe_consumer> response_body_stream,
           uint32 node_id);
};

}