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: nogncheck 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 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 {
+ [Sync]
+ 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