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

Side by Side Diff: content/browser/renderer_host/offscreen_canvas_frame_receiver_impl.h

Issue 2313533002: Revert of Submit Compositor Frame from OffscreenCanvas on main (Closed)
Patch Set: Created 4 years, 3 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_BROWSER_RENDERER_HOST_OFFSCREEN_CANVAS_FRAME_RECEIVER_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_OFFSCREEN_CANVAS_FRAME_RECEIVER_IMPL_H_
7
8 #include "mojo/public/cpp/bindings/interface_request.h"
9 #include "mojo/public/cpp/bindings/strong_binding.h"
10 #include "third_party/WebKit/public/platform/modules/offscreencanvas/offscreen_c anvas_surface.mojom.h"
11
12 namespace content {
13
14 class OffscreenCanvasFrameReceiverImpl
15 : public blink::mojom::OffscreenCanvasFrameReceiver {
16 public:
17 static void Create(mojo::InterfaceRequest<
18 blink::mojom::OffscreenCanvasFrameReceiver> request);
19
20 void SubmitCompositorFrame(const cc::SurfaceId& surface_id,
21 cc::CompositorFrame frame) override;
22
23 private:
24 ~OffscreenCanvasFrameReceiverImpl() override;
25 explicit OffscreenCanvasFrameReceiverImpl(
26 mojo::InterfaceRequest<blink::mojom::OffscreenCanvasFrameReceiver>
27 request);
28
29 mojo::StrongBinding<blink::mojom::OffscreenCanvasFrameReceiver> binding_;
30
31 DISALLOW_COPY_AND_ASSIGN(OffscreenCanvasFrameReceiverImpl);
32 };
33
34 } // namespace content
35
36 #endif // CONTENT_BROWSER_RENDERER_HOST_OFFSCREEN_CANVAS_FRAME_RECEIVER_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/OWNERS ('k') | content/browser/renderer_host/offscreen_canvas_frame_receiver_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698