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

Unified Diff: components/mus/public/cpp/surfaces/surfaces_type_converters.h

Issue 2088603002: Implement RenderPass StructTraits (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup 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 side-by-side diff with in-line comments
Download patch
Index: components/mus/public/cpp/surfaces/surfaces_type_converters.h
diff --git a/components/mus/public/cpp/surfaces/surfaces_type_converters.h b/components/mus/public/cpp/surfaces/surfaces_type_converters.h
index 7c444733b2eae8cb677cf9f50a0085ac5732baea..3c3ef4ff021ac3d7305add81d24ac545ceaab9ee 100644
--- a/components/mus/public/cpp/surfaces/surfaces_type_converters.h
+++ b/components/mus/public/cpp/surfaces/surfaces_type_converters.h
@@ -29,29 +29,10 @@ class SharedQuadState;
namespace mojo {
// Types from quads.mojom
-template <>
-struct MOJO_SURFACES_EXPORT
- TypeConverter<cc::mojom::DrawQuadPtr, cc::DrawQuad> {
- static cc::mojom::DrawQuadPtr Convert(const cc::DrawQuad& input);
-};
-
std::unique_ptr<cc::RenderPass> ConvertToRenderPass(
const cc::mojom::RenderPassPtr& input,
const cc::CompositorFrameMetadata& metadata);
-template <>
-struct MOJO_SURFACES_EXPORT
- TypeConverter<cc::mojom::RenderPassPtr, cc::RenderPass> {
- static cc::mojom::RenderPassPtr Convert(const cc::RenderPass& input);
-};
-
-template <>
-struct MOJO_SURFACES_EXPORT
- TypeConverter<std::unique_ptr<cc::RenderPass>, cc::mojom::RenderPassPtr> {
- static std::unique_ptr<cc::RenderPass> Convert(
- const cc::mojom::RenderPassPtr& input);
-};
-
// Types from compositor_frame.mojom
MOJO_SURFACES_EXPORT std::unique_ptr<cc::CompositorFrame>
ConvertToCompositorFrame(const cc::mojom::CompositorFramePtr& input);
« no previous file with comments | « components/mus/public/cpp/surfaces/BUILD.gn ('k') | components/mus/public/cpp/surfaces/surfaces_type_converters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698