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

Unified Diff: ui/gfx/geometry/mojo/geometry_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/geometry/mojo/geometry_traits_test_service.mojom
diff --git a/ui/gfx/geometry/mojo/geometry_traits_test_service.mojom b/ui/gfx/geometry/mojo/geometry_traits_test_service.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..3dbd9d849830705fb638132cdbc5b1ecb335036c
--- /dev/null
+++ b/ui/gfx/geometry/mojo/geometry_traits_test_service.mojom
@@ -0,0 +1,33 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+module gfx.mojom;
+
+import "ui/gfx/geometry/mojo/geometry.mojom";
+
+interface GeometryTraitsTestService {
sky 2016/06/02 03:22:21 nit: add description. At the least that all functi
Fady Samuel 2016/06/02 12:09:23 Done.
+ [Sync]
+ EchoPoint(Point p) => (Point pass);
+
+ [Sync]
+ EchoPointF(PointF p) => (PointF pass);
+
+ [Sync]
+ EchoSize(Size s) => (Size pass);
+
+ [Sync]
+ EchoSizeF(SizeF s) => (SizeF pass);
+
+ [Sync]
+ EchoRect(Rect r) => (Rect pass);
+
+ [Sync]
+ EchoRectF(RectF r) => (RectF pass);
+
+ [Sync]
+ EchoInsets(Insets i) => (Insets pass);
+
+ [Sync]
+ EchoInsetsF(InsetsF i) => (InsetsF pass);
+};

Powered by Google App Engine
This is Rietveld 408576698