| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef OffscreenCanvasFrameDispatcherImpl_h | 5 #ifndef OffscreenCanvasFrameDispatcherImpl_h |
| 6 #define OffscreenCanvasFrameDispatcherImpl_h | 6 #define OffscreenCanvasFrameDispatcherImpl_h |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include "cc/ipc/mojo_compositor_frame_sink.mojom-blink.h" | 9 #include "cc/ipc/mojo_compositor_frame_sink.mojom-blink.h" |
| 10 #include "cc/output/begin_frame_args.h" | 10 #include "cc/output/begin_frame_args.h" |
| 11 #include "cc/resources/shared_bitmap.h" | 11 #include "cc/resources/shared_bitmap.h" |
| 12 #include "cc/surfaces/local_surface_id_allocator.h" | 12 #include "cc/surfaces/local_surface_id_allocator.h" |
| 13 #include "cc/surfaces/surface_id.h" | 13 #include "cc/surfaces/surface_id.h" |
| 14 #include "mojo/public/cpp/bindings/binding.h" | 14 #include "mojo/public/cpp/bindings/binding.h" |
| 15 #include "platform/graphics/OffscreenCanvasFrameDispatcher.h" | 15 #include "platform/graphics/OffscreenCanvasFrameDispatcher.h" |
| 16 #include "platform/graphics/StaticBitmapImage.h" | 16 #include "platform/graphics/StaticBitmapImage.h" |
| 17 #include "wtf/Compiler.h" | 17 #include "platform/wtf/Compiler.h" |
| 18 | 18 |
| 19 namespace blink { | 19 namespace blink { |
| 20 | 20 |
| 21 class PLATFORM_EXPORT OffscreenCanvasFrameDispatcherImpl final | 21 class PLATFORM_EXPORT OffscreenCanvasFrameDispatcherImpl final |
| 22 : public OffscreenCanvasFrameDispatcher, | 22 : public OffscreenCanvasFrameDispatcher, |
| 23 NON_EXPORTED_BASE( | 23 NON_EXPORTED_BASE( |
| 24 public cc::mojom::blink::MojoCompositorFrameSinkClient) { | 24 public cc::mojom::blink::MojoCompositorFrameSinkClient) { |
| 25 public: | 25 public: |
| 26 OffscreenCanvasFrameDispatcherImpl(OffscreenCanvasFrameDispatcherClient*, | 26 OffscreenCanvasFrameDispatcherImpl(OffscreenCanvasFrameDispatcherClient*, |
| 27 uint32_t clientId, | 27 uint32_t clientId, |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 RefPtr<StaticBitmapImage>); | 86 RefPtr<StaticBitmapImage>); |
| 87 void setTransferableResourceToSharedGPUContext(cc::TransferableResource&, | 87 void setTransferableResourceToSharedGPUContext(cc::TransferableResource&, |
| 88 RefPtr<StaticBitmapImage>); | 88 RefPtr<StaticBitmapImage>); |
| 89 void setTransferableResourceToStaticBitmapImage(cc::TransferableResource&, | 89 void setTransferableResourceToStaticBitmapImage(cc::TransferableResource&, |
| 90 RefPtr<StaticBitmapImage>); | 90 RefPtr<StaticBitmapImage>); |
| 91 }; | 91 }; |
| 92 | 92 |
| 93 } // namespace blink | 93 } // namespace blink |
| 94 | 94 |
| 95 #endif // OffscreenCanvasFrameDispatcherImpl_h | 95 #endif // OffscreenCanvasFrameDispatcherImpl_h |
| OLD | NEW |