| // 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); |
| }; |