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

Unified Diff: ui/gfx/mojo/traits_test_service.mojom

Issue 2037453002: Implement ui/gfx/geometry StructTraits unit tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix SizeF unit test Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: ui/gfx/mojo/traits_test_service.mojom
diff --git a/ui/gfx/mojo/transform.mojom b/ui/gfx/mojo/traits_test_service.mojom
similarity index 59%
copy from ui/gfx/mojo/transform.mojom
copy to ui/gfx/mojo/traits_test_service.mojom
index 1ce0e753f5f55f78ffdc893169308002f6678a42..9c7a8be3940c389488a67997c6d71b1bbb128647 100644
--- a/ui/gfx/mojo/transform.mojom
+++ b/ui/gfx/mojo/traits_test_service.mojom
@@ -4,8 +4,9 @@
module gfx.mojom;
-// See ui/gfx/transform.h.
-struct Transform {
- // Row major order.
- array<float, 16> matrix;
+import "ui/gfx/mojo/transform.mojom";
+
+interface TraitsTestService {
sky 2016/06/02 03:22:21 nit: comment here too
Fady Samuel 2016/06/02 12:09:23 Done.
+ [Sync]
+ EchoTransform(Transform t) => (Transform pass);
};

Powered by Google App Engine
This is Rietveld 408576698