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

Side by Side 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, 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/mojo/struct_traits_unittest.cc ('k') | ui/gfx/test/DEPS » ('j') | 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 // See ui/gfx/transform.h. 7 import "ui/gfx/mojo/transform.mojom";
8 struct Transform { 8
9 // Row major order. 9 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
10 array<float, 16> matrix; 10 EchoTransform(Transform t) => (Transform pass);
11 }; 11 };
OLDNEW
« 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