summaryrefslogtreecommitdiffstats
path: root/mojo/public/shell/lib/shell.mojom
blob: 39eae784e4bac3393b1c932e65a3f06d1d13ceec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright 2013 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.

module mojo {

[Peer=ShellClient]
interface Shell {
  // Loads url. mojo:{service} will result in the user of the value of the
  // --origin flag to the shell being used.
  Connect(string url, handle<message_pipe> client_handle);
};

[Peer=Shell]
interface ShellClient {
  AcceptConnection(string url, handle<message_pipe> client_handle);
};

}