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

Unified Diff: mojo/converters/surfaces/custom_surface_converter.h

Issue 2012113003: mojo/converters/surfaces -> components/mus/public/cpp/surfaces (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@converters_events
Patch Set: . Created 4 years, 7 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
« no previous file with comments | « mojo/converters/surfaces/OWNERS ('k') | mojo/converters/surfaces/mojo_surfaces_export.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/converters/surfaces/custom_surface_converter.h
diff --git a/mojo/converters/surfaces/custom_surface_converter.h b/mojo/converters/surfaces/custom_surface_converter.h
deleted file mode 100644
index af47e120a21cfa4e06484a15c9756381fc282e52..0000000000000000000000000000000000000000
--- a/mojo/converters/surfaces/custom_surface_converter.h
+++ /dev/null
@@ -1,31 +0,0 @@
-// Copyright 2015 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_SURFACES_CUSTOM_SURFACE_CONVERTER_H_
-#define MOJO_CONVERTERS_SURFACES_CUSTOM_SURFACE_CONVERTER_H_
-
-namespace cc {
-class RenderPass;
-class SharedQuadState;
-} // namespace cc
-
-namespace mojo {
-
-// Classes that inherit from this converter can override the default behavior
-// for converting a mojo::SurfaceDrawState to something cc understands.
-class CustomSurfaceConverter {
- public:
- virtual bool ConvertSurfaceDrawQuad(
- const mus::mojom::QuadPtr& input,
- const mus::mojom::CompositorFrameMetadataPtr& metadata,
- cc::SharedQuadState* sqs,
- cc::RenderPass* render_pass) = 0;
-
- protected:
- virtual ~CustomSurfaceConverter() {}
-};
-
-} // namespace mojo
-
-#endif // MOJO_CONVERTERS_SURFACES_CUSTOM_SURFACE_CONVERTER_H_
« no previous file with comments | « mojo/converters/surfaces/OWNERS ('k') | mojo/converters/surfaces/mojo_surfaces_export.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698