| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 gfx.mojom; | 5 module gfx.mojom; |
| 6 | 6 |
| 7 import "ui/gfx/mojo/accelerated_widget.mojom"; |
| 7 import "ui/gfx/mojo/selection_bound.mojom"; | 8 import "ui/gfx/mojo/selection_bound.mojom"; |
| 8 import "ui/gfx/mojo/transform.mojom"; | 9 import "ui/gfx/mojo/transform.mojom"; |
| 9 | 10 |
| 10 // All functions on this interface echo their arguments to test StructTraits | 11 // All functions on this interface echo their arguments to test StructTraits |
| 11 // serialization and deserialization. | 12 // serialization and deserialization. |
| 12 interface TraitsTestService { | 13 interface TraitsTestService { |
| 13 [Sync] | 14 [Sync] |
| 15 EchoAcceleratedWidget(AcceleratedWidget w) => (AcceleratedWidget pass); |
| 16 |
| 17 [Sync] |
| 14 EchoSelectionBound(SelectionBound s) => (SelectionBound pass); | 18 EchoSelectionBound(SelectionBound s) => (SelectionBound pass); |
| 15 | 19 |
| 16 [Sync] | 20 [Sync] |
| 17 EchoTransform(Transform t) => (Transform pass); | 21 EchoTransform(Transform t) => (Transform pass); |
| 18 }; | 22 }; |
| OLD | NEW |