Index: services/ui/common/gpu_type_converters.h |
diff --git a/services/ui/common/gpu_type_converters.h b/services/ui/common/gpu_type_converters.h |
deleted file mode 100644 |
index c42350afc0bc4b3c2b90d98e25f9fc2e7ecbbb7d..0000000000000000000000000000000000000000 |
--- a/services/ui/common/gpu_type_converters.h |
+++ /dev/null |
@@ -1,53 +0,0 @@ |
-// Copyright 2016 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 SERVICES_UI_COMMON_GPU_TYPE_CONVERTERS_H_ |
-#define SERVICES_UI_COMMON_GPU_TYPE_CONVERTERS_H_ |
- |
-#include "build/build_config.h" |
-#include "mojo/public/cpp/bindings/type_converter.h" |
-#include "services/ui/public/interfaces/gpu_memory_buffer.mojom.h" |
- |
-namespace gfx { |
-struct GpuMemoryBufferHandle; |
-class GenericSharedMemoryId; |
-using GpuMemoryBufferId = GenericSharedMemoryId; |
-struct NativePixmapHandle; |
-} |
- |
-namespace mojo { |
- |
-#if defined(USE_OZONE) |
-template <> |
-struct TypeConverter<ui::mojom::NativePixmapHandlePtr, |
- gfx::NativePixmapHandle> { |
- static ui::mojom::NativePixmapHandlePtr Convert( |
- const gfx::NativePixmapHandle& handle); |
-}; |
- |
-template <> |
-struct TypeConverter<gfx::NativePixmapHandle, |
- ui::mojom::NativePixmapHandlePtr> { |
- static gfx::NativePixmapHandle Convert( |
- const ui::mojom::NativePixmapHandlePtr& handle); |
-}; |
-#endif |
- |
-template <> |
-struct TypeConverter<ui::mojom::GpuMemoryBufferHandlePtr, |
- gfx::GpuMemoryBufferHandle> { |
- static ui::mojom::GpuMemoryBufferHandlePtr Convert( |
- const gfx::GpuMemoryBufferHandle& handle); |
-}; |
- |
-template <> |
-struct TypeConverter<gfx::GpuMemoryBufferHandle, |
- ui::mojom::GpuMemoryBufferHandlePtr> { |
- static gfx::GpuMemoryBufferHandle Convert( |
- const ui::mojom::GpuMemoryBufferHandlePtr& handle); |
-}; |
- |
-} // namespace mojo |
- |
-#endif // SERVICES_UI_COMMON_GPU_TYPE_CONVERTERS_H_ |