Index: mojo/shell/shell.mojom |
diff --git a/mojo/shell/shell.mojom b/mojo/shell/shell.mojom |
new file mode 100644 |
index 0000000000000000000000000000000000000000..003103735409da399278ab338a7f6f2fa4a166f8 |
--- /dev/null |
+++ b/mojo/shell/shell.mojom |
@@ -0,0 +1,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 shell { |
abarth-chromium
2013/12/15 22:54:10
So far we've been putting everything in the "mojo"
DaveMoore
2013/12/16 17:40:22
Done, but I'd like to add the ability to put bindi
|
+ |
+[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. |
+ void Connect(string url, handle<message_pipe> client_handle); |
+}; |
+ |
+[Peer=Shell] |
+interface ShellClient { |
+ void AcceptConnection(handle<message_pipe> client_handle); |
+}; |
+ |
+} |