| Index: mojo/converters/geometry/transform_converters.h
|
| diff --git a/mojo/converters/geometry/transform_converters.h b/mojo/converters/geometry/transform_converters.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..09914bb856cdf6437ced515de2cece20b5d94ab5
|
| --- /dev/null
|
| +++ b/mojo/converters/geometry/transform_converters.h
|
| @@ -0,0 +1,25 @@
|
| +// Copyright 2014 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.
|
| +
|
| +#ifndef MOJO_CONVERTERS_GEOMETRY_TRANSFORM_CONVERTERS_H_
|
| +#define MOJO_CONVERTERS_GEOMETRY_TRANSFORM_CONVERTERS_H_
|
| +
|
| +#include "mojo/converters/geometry/mojo_geometry_export.h"
|
| +#include "third_party/mojo_services/src/geometry/public/interfaces/geometry.mojom.h"
|
| +#include "ui/gfx/transform.h"
|
| +
|
| +namespace mojo {
|
| +
|
| +template <>
|
| +struct MOJO_GEOMETRY_EXPORT TypeConverter<TransformPtr, gfx::Transform> {
|
| + static TransformPtr Convert(const gfx::Transform& input);
|
| +};
|
| +template <>
|
| +struct MOJO_GEOMETRY_EXPORT TypeConverter<gfx::Transform, TransformPtr> {
|
| + static gfx::Transform Convert(const TransformPtr& input);
|
| +};
|
| +
|
| +} // namespace mojo
|
| +
|
| +#endif // MOJO_CONVERTERS_GEOMETRY_TRANSFORM_CONVERTERS_H_
|
|
|