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

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

Issue 2026333002: Implement gfx::Transform StructTraits unit test (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix diff 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
« no previous file with comments | « ui/gfx/mojo/struct_traits_unittest.cc ('k') | ui/gfx/test/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 61%
copy from ui/gfx/mojo/transform.mojom
copy to ui/gfx/mojo/traits_test_service.mojom
index 1ce0e753f5f55f78ffdc893169308002f6678a42..9eca0d1f5a7b7c3207756da78849a37db344bd5a 100644
--- a/ui/gfx/mojo/transform.mojom
+++ b/ui/gfx/mojo/traits_test_service.mojom
@@ -4,8 +4,8 @@
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 {
sadrul 2016/06/01 16:17:38 I think if you make this [Sync], then you don't ne
Fady Samuel 2016/06/01 16:20:19 Making it sync on one thread would deadlock I thin
yzshen1 2016/06/01 16:22:24 If you mean the sender and the receiver on the sam
Fady Samuel 2016/06/01 16:32:31 Cool! I just tried it and it works and simplifies
+ EchoTransform(Transform t) => (Transform pass);
};
« no previous file with comments | « ui/gfx/mojo/struct_traits_unittest.cc ('k') | ui/gfx/test/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698