Upstream version 5.34.98.0
[platform/framework/web/crosswalk.git] / src / mojo / shell / shell.mojom
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 module mojo {
6
7 [Peer=ShellClient]
8 interface Shell {
9   // Loads url. mojo:{service} will result in the user of the value of the
10   // --origin flag to the shell being used.
11   void Connect(string url, handle<message_pipe> client_handle);
12 };
13
14 [Peer=Shell]
15 interface ShellClient {
16   void AcceptConnection(handle<message_pipe> client_handle);
17 };
18
19 }