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

Unified Diff: content/browser/renderer_host/offscreen_canvas_surface_factory_impl.h

Issue 2789753002: Convert offscreen canvas to use FrameSinkManagerHost. (Closed)
Patch Set: Rebase. Created 3 years, 8 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: content/browser/renderer_host/offscreen_canvas_surface_factory_impl.h
diff --git a/content/browser/renderer_host/offscreen_canvas_surface_factory_impl.h b/content/browser/renderer_host/offscreen_canvas_surface_factory_impl.h
deleted file mode 100644
index 879e0019a2407f48880d480b830a6f0b0b40fec4..0000000000000000000000000000000000000000
--- a/content/browser/renderer_host/offscreen_canvas_surface_factory_impl.h
+++ /dev/null
@@ -1,35 +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 CONTENT_BROWSER_RENDERER_HOST_OFFSCREEN_CANVAS_SURFACE_FACTORY_IMPL_H_
-#define CONTENT_BROWSER_RENDERER_HOST_OFFSCREEN_CANVAS_SURFACE_FACTORY_IMPL_H_
-
-#include "cc/ipc/frame_sink_manager.mojom.h"
-#include "third_party/WebKit/public/platform/modules/offscreencanvas/offscreen_canvas_surface.mojom.h"
-
-namespace content {
-
-class OffscreenCanvasSurfaceFactoryImpl
- : public blink::mojom::OffscreenCanvasSurfaceFactory {
- public:
- OffscreenCanvasSurfaceFactoryImpl() {}
- ~OffscreenCanvasSurfaceFactoryImpl() override {}
-
- static void Create(
- blink::mojom::OffscreenCanvasSurfaceFactoryRequest request);
-
- // blink::mojom::OffscreenCanvasSurfaceFactory implementation.
- void CreateOffscreenCanvasSurface(
- const cc::FrameSinkId& parent_frame_sink_id,
- const cc::FrameSinkId& frame_sink_id,
- cc::mojom::FrameSinkManagerClientPtr client,
- blink::mojom::OffscreenCanvasSurfaceRequest request) override;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(OffscreenCanvasSurfaceFactoryImpl);
-};
-
-} // namespace content
-
-#endif // CONTENT_BROWSER_RENDERER_HOST_OFFSCREEN_CANVAS_SURFACE_FACTORY_IMPL_H_

Powered by Google App Engine
This is Rietveld 408576698