OLD | NEW |
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_SURFACES_SURFACES_TYPE_CONVERTERS_H_ | 5 #ifndef MOJO_CONVERTERS_SURFACES_SURFACES_TYPE_CONVERTERS_H_ |
6 #define MOJO_CONVERTERS_SURFACES_SURFACES_TYPE_CONVERTERS_H_ | 6 #define MOJO_CONVERTERS_SURFACES_SURFACES_TYPE_CONVERTERS_H_ |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "cc/resources/returned_resource.h" | 9 #include "cc/resources/returned_resource.h" |
10 #include "cc/resources/transferable_resource.h" | 10 #include "cc/resources/transferable_resource.h" |
11 #include "cc/surfaces/surface_id.h" | 11 #include "cc/surfaces/surface_id.h" |
12 #include "components/view_manager/public/interfaces/compositor_frame.mojom.h" | 12 #include "components/mus/public/interfaces/compositor_frame.mojom.h" |
13 #include "components/view_manager/public/interfaces/quads.mojom.h" | 13 #include "components/mus/public/interfaces/quads.mojom.h" |
14 #include "components/view_manager/public/interfaces/surface_id.mojom.h" | 14 #include "components/mus/public/interfaces/surface_id.mojom.h" |
15 #include "gpu/command_buffer/common/mailbox.h" | 15 #include "gpu/command_buffer/common/mailbox.h" |
16 #include "gpu/command_buffer/common/mailbox_holder.h" | 16 #include "gpu/command_buffer/common/mailbox_holder.h" |
17 #include "mojo/converters/surfaces/mojo_surfaces_export.h" | 17 #include "mojo/converters/surfaces/mojo_surfaces_export.h" |
18 #include "third_party/skia/include/core/SkColor.h" | 18 #include "third_party/skia/include/core/SkColor.h" |
19 | 19 |
20 namespace cc { | 20 namespace cc { |
21 class CompositorFrame; | 21 class CompositorFrame; |
22 class CompositorFrameMetadata; | 22 class CompositorFrameMetadata; |
23 class DrawQuad; | 23 class DrawQuad; |
24 class RenderPass; | 24 class RenderPass; |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 template <> | 181 template <> |
182 struct MOJO_SURFACES_EXPORT | 182 struct MOJO_SURFACES_EXPORT |
183 TypeConverter<scoped_ptr<cc::CompositorFrame>, CompositorFramePtr> { | 183 TypeConverter<scoped_ptr<cc::CompositorFrame>, CompositorFramePtr> { |
184 static scoped_ptr<cc::CompositorFrame> Convert( | 184 static scoped_ptr<cc::CompositorFrame> Convert( |
185 const CompositorFramePtr& input); | 185 const CompositorFramePtr& input); |
186 }; | 186 }; |
187 | 187 |
188 } // namespace mojo | 188 } // namespace mojo |
189 | 189 |
190 #endif // MOJO_CONVERTERS_SURFACES_SURFACES_TYPE_CONVERTERS_H_ | 190 #endif // MOJO_CONVERTERS_SURFACES_SURFACES_TYPE_CONVERTERS_H_ |
OLD | NEW |