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

Side by Side Diff: mojo/converters/geometry/transform_converters.h

Issue 911793002: Split transform_converters.h from geometry_type_converters.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add MOJO_TRANSFORM_EXPORT and mojo_transform_export.h. Created 5 years, 10 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
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
jamesr 2015/02/13 01:06:46 2015
wtc 2015/02/13 03:04:19 Done.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef MOJO_CONVERTERS_GEOMETRY_TRANSFORM_CONVERTERS_H_
6 #define MOJO_CONVERTERS_GEOMETRY_TRANSFORM_CONVERTERS_H_
7
8 #include "mojo/converters/geometry/mojo_transform_export.h"
9 #include "third_party/mojo_services/src/geometry/public/interfaces/geometry.mojo m.h"
10 #include "ui/gfx/transform.h"
11
12 namespace mojo {
13
14 template <>
15 struct MOJO_TRANSFORM_EXPORT TypeConverter<TransformPtr, gfx::Transform> {
16 static TransformPtr Convert(const gfx::Transform& input);
17 };
18 template <>
19 struct MOJO_TRANSFORM_EXPORT TypeConverter<gfx::Transform, TransformPtr> {
20 static gfx::Transform Convert(const TransformPtr& input);
21 };
22
23 } // namespace mojo
24
25 #endif // MOJO_CONVERTERS_GEOMETRY_TRANSFORM_CONVERTERS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698