#include "third_party/blink/renderer/platform/graphics/gpu/webgraphics_shared_image_interface_provider_impl.h"
#include "base/task/bind_post_task.h"
#include "gpu/ipc/client/client_shared_image_interface.h"
#include "gpu/ipc/client/gpu_channel_host.h"
namespace blink {
WebGraphicsSharedImageInterfaceProviderImpl::
WebGraphicsSharedImageInterfaceProviderImpl(
scoped_refptr<gpu::ClientSharedImageInterface> shared_image_interface)
: … { … }
WebGraphicsSharedImageInterfaceProviderImpl::
~WebGraphicsSharedImageInterfaceProviderImpl() { … }
void WebGraphicsSharedImageInterfaceProviderImpl::AddGpuChannelLostObserver(
BitmapGpuChannelLostObserver* ob) { … }
void WebGraphicsSharedImageInterfaceProviderImpl::RemoveGpuChannelLostObserver(
BitmapGpuChannelLostObserver* ob) { … }
gpu::SharedImageInterface*
WebGraphicsSharedImageInterfaceProviderImpl::SharedImageInterface() { … }
base::WeakPtr<blink::WebGraphicsSharedImageInterfaceProvider>
WebGraphicsSharedImageInterfaceProviderImpl::GetWeakPtr() { … }
void WebGraphicsSharedImageInterfaceProviderImpl::OnGpuChannelLost() { … }
void WebGraphicsSharedImageInterfaceProviderImpl::
GpuChannelLostOnWorkerThread() { … }
}