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

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

Issue 2065573003: Mus: Delete unused Mandoline Surfaces code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix mus_ws_unittests 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/custom_surface_converter.h
diff --git a/components/mus/public/cpp/surfaces/custom_surface_converter.h b/components/mus/public/cpp/surfaces/custom_surface_converter.h
deleted file mode 100644
index 80a9fbeff1b15b12d936dff04567b3457e11322a..0000000000000000000000000000000000000000
--- a/components/mus/public/cpp/surfaces/custom_surface_converter.h
+++ /dev/null
@@ -1,35 +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 COMPONENTS_MUS_PUBLIC_CPP_SURFACES_CUSTOM_SURFACE_CONVERTER_H_
-#define COMPONENTS_MUS_PUBLIC_CPP_SURFACES_CUSTOM_SURFACE_CONVERTER_H_
-
-#include "cc/ipc/quads.mojom.h"
-#include "components/mus/public/interfaces/compositor_frame.mojom.h"
-
-namespace cc {
-class CompositorFrameMetadata;
-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 cc::mojom::DrawQuadPtr& input,
- const cc::CompositorFrameMetadata& metadata,
- cc::SharedQuadState* sqs,
- cc::RenderPass* render_pass) = 0;
-
- protected:
- virtual ~CustomSurfaceConverter() {}
-};
-
-} // namespace mojo
-
-#endif // COMPONENTS_MUS_PUBLIC_CPP_SURFACES_CUSTOM_SURFACE_CONVERTER_H_
« no previous file with comments | « components/mus/public/cpp/surfaces/BUILD.gn ('k') | components/mus/public/cpp/surfaces/surfaces_type_converters.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698