Index: mojo/public/interfaces/application/shell.mojom |
diff --git a/mojo/public/interfaces/application/shell.mojom b/mojo/public/interfaces/application/shell.mojom |
new file mode 100644 |
index 0000000000000000000000000000000000000000..797b6000ba12037290e429013064cad7ebec90ab |
--- /dev/null |
+++ b/mojo/public/interfaces/application/shell.mojom |
@@ -0,0 +1,18 @@ |
+// 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. |
+ |
+import "mojo/public/interfaces/application/service_provider.mojom" |
+ |
+module mojo { |
+ |
+// The Shell is the finder and launcher of Applications. An Application uses |
+// it's Shell interface to connect to other Applications. |
+[Client=Application] |
+interface Shell { |
+ // Loads url. mojo:{service} will result in the user of the value of the |
+ // --origin flag to the shell being used. |
+ ConnectToApplication(string application_url, ServiceProvider& provider); |
+}; |
+ |
+} |