| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 module mojo; | 5 module mojo; |
| 6 | 6 |
| 7 import "surfaces/public/interfaces/surfaces.mojom"; | 7 import "surfaces/public/interfaces/surfaces.mojom"; |
| 8 | 8 |
| 9 // Use this interface to request connections to the surfaces service. Each | 9 // Use this interface to request connections to the surfaces service. Each |
| 10 // connection is associated with an id namespace | 10 // connection is associated with an id namespace |
| 11 interface SurfacesService { | 11 interface SurfacesService { |
| 12 // DEPRECATED: Just connect to mojo.Surface directly and receive the id | 12 // DEPRECATED: Just connect to mojo.Surface directly and receive the id |
| 13 // namespace via SetIdNamespace. | 13 // namespace via SetIdNamespace. |
| 14 CreateSurfaceConnection() => (Surface surface, uint32 id_namespace); | 14 CreateSurfaceConnection() => (Surface surface, uint32 id_namespace); |
| 15 }; | 15 }; |
| OLD | NEW |