Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(390)

Side by Side Diff: ui/gfx/geometry/mojo/geometry_traits_test_service.mojom

Issue 2033583002: Implement gfx::Vector2d and gfx::Vector2dF StructTraits (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unnecessary deps Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/gfx/geometry/mojo/geometry_struct_traits_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/geometry/mojo/geometry.mojom"; 7 import "ui/gfx/geometry/mojo/geometry.mojom";
8 8
9 // All functions on this interface echo their arguments to test StructTraits 9 // All functions on this interface echo their arguments to test StructTraits
10 // serialization and deserialization. 10 // serialization and deserialization.
(...skipping 14 matching lines...) Expand all
25 EchoRect(Rect r) => (Rect pass); 25 EchoRect(Rect r) => (Rect pass);
26 26
27 [Sync] 27 [Sync]
28 EchoRectF(RectF r) => (RectF pass); 28 EchoRectF(RectF r) => (RectF pass);
29 29
30 [Sync] 30 [Sync]
31 EchoInsets(Insets i) => (Insets pass); 31 EchoInsets(Insets i) => (Insets pass);
32 32
33 [Sync] 33 [Sync]
34 EchoInsetsF(InsetsF i) => (InsetsF pass); 34 EchoInsetsF(InsetsF i) => (InsetsF pass);
35
36 [Sync]
37 EchoVector2d(Vector2d v) => (Vector2d pass);
38
39 [Sync]
40 EchoVector2dF(Vector2dF v) => (Vector2dF pass);
35 }; 41 };
OLDNEW
« no previous file with comments | « ui/gfx/geometry/mojo/geometry_struct_traits_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698