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

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

Issue 1049993002: Get mojo_shell building inside chromium checkout. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix presubmit Created 5 years, 8 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef MOJO_CONVERTERS_GEOMETRY_GEOMETRY_TYPE_CONVERTERS_H_ 5 #ifndef MOJO_CONVERTERS_GEOMETRY_GEOMETRY_TYPE_CONVERTERS_H_
6 #define MOJO_CONVERTERS_GEOMETRY_GEOMETRY_TYPE_CONVERTERS_H_ 6 #define MOJO_CONVERTERS_GEOMETRY_GEOMETRY_TYPE_CONVERTERS_H_
7 7
8 #include "mojo/converters/geometry/mojo_geometry_export.h" 8 #include "mojo/converters/geometry/mojo_geometry_export.h"
9 #include "third_party/mojo_services/src/geometry/public/interfaces/geometry.mojo m.h" 9 #include "third_party/mojo_services/src/geometry/public/interfaces/geometry.mojo m.h"
10 #include "ui/gfx/geometry/point.h" 10 #include "ui/gfx/geometry/point.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 52
53 template <> 53 template <>
54 struct MOJO_GEOMETRY_EXPORT TypeConverter<RectFPtr, gfx::RectF> { 54 struct MOJO_GEOMETRY_EXPORT TypeConverter<RectFPtr, gfx::RectF> {
55 static RectFPtr Convert(const gfx::RectF& input); 55 static RectFPtr Convert(const gfx::RectF& input);
56 }; 56 };
57 template <> 57 template <>
58 struct MOJO_GEOMETRY_EXPORT TypeConverter<gfx::RectF, RectFPtr> { 58 struct MOJO_GEOMETRY_EXPORT TypeConverter<gfx::RectF, RectFPtr> {
59 static gfx::RectF Convert(const RectFPtr& input); 59 static gfx::RectF Convert(const RectFPtr& input);
60 }; 60 };
61 61
62 template <>
63 struct MOJO_GEOMETRY_EXPORT TypeConverter<Rect, gfx::Rect> {
64 static Rect Convert(const gfx::Rect& input);
65 };
66 template <>
67 struct MOJO_GEOMETRY_EXPORT TypeConverter<gfx::Rect, Rect> {
68 static gfx::Rect Convert(const Rect& input);
69 };
70
62 } // namespace mojo 71 } // namespace mojo
63 72
64 #endif // MOJO_CONVERTERS_GEOMETRY_GEOMETRY_TYPE_CONVERTERS_H_ 73 #endif // MOJO_CONVERTERS_GEOMETRY_GEOMETRY_TYPE_CONVERTERS_H_
OLDNEW
« no previous file with comments | « mojo/common/weak_interface_ptr_set.h ('k') | mojo/converters/geometry/geometry_type_converters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698