// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_VIDEO_CONSUMER_H_ #define CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_VIDEO_CONSUMER_H_ #include <memory> #include "base/time/time.h" #include "components/viz/host/client_frame_sink_video_capturer.h" #include "content/common/content_export.h" #include "mojo/public/cpp/bindings/pending_remote.h" #include "ui/gfx/geometry/size.h" class SkBitmap; namespace content { // This class is the video consumer to FrameSinkVideoCapturerImpl. This class, // in turn sends video frames to its host via the OnFrameCapturedCallback. Used // when the VizDisplayCompositor feature is enabled. // TODO(crbug.com/41391202): This class can probably be merged into // viz::ClientFrameSinkVideoCapturer. class CONTENT_EXPORT DevToolsVideoConsumer : public viz::mojom::FrameSinkVideoConsumer { … }; } // namespace content #endif // CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_VIDEO_CONSUMER_H_