Index: third_party/mojo_services/src/surfaces/public/interfaces/surfaces_service.mojom |
diff --git a/third_party/mojo_services/src/surfaces/public/interfaces/surfaces_service.mojom b/third_party/mojo_services/src/surfaces/public/interfaces/surfaces_service.mojom |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e1ca6902f8b46bb15c7a6dd4f2ec4b38d81e6b8e |
--- /dev/null |
+++ b/third_party/mojo_services/src/surfaces/public/interfaces/surfaces_service.mojom |
@@ -0,0 +1,15 @@ |
+// 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. |
+ |
+module mojo; |
+ |
+import "surfaces/public/interfaces/surfaces.mojom"; |
+ |
+// Use this interface to request connections to the surfaces service. Each |
+// connection is associated with an id namespace |
+interface SurfacesService { |
+ // DEPRECATED: Just connect to mojo.Surface directly and receive the id |
+ // namespace via SetIdNamespace. |
+ CreateSurfaceConnection() => (Surface surface, uint32 id_namespace); |
+}; |