#include "third_party/blink/renderer/core/frame/child_frame_compositing_helper.h"
#include <utility>
#include "build/build_config.h"
#include "cc/layers/picture_layer.h"
#include "cc/layers/surface_layer.h"
#include "cc/paint/paint_image.h"
#include "cc/paint/paint_image_builder.h"
#include "skia/ext/image_operations.h"
#include "third_party/blink/public/common/widget/constants.h"
#include "third_party/blink/renderer/core/frame/child_frame_compositor.h"
#include "third_party/blink/renderer/platform/runtime_enabled_features.h"
#include "third_party/blink/renderer/platform/wtf/functional.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "third_party/skia/include/core/SkImage.h"
#include "ui/gfx/geometry/point_f.h"
#include "ui/gfx/geometry/size.h"
#include "ui/gfx/geometry/skia_conversions.h"
namespace blink {
ChildFrameCompositingHelper::ChildFrameCompositingHelper(
ChildFrameCompositor* child_frame_compositor)
: … { … }
ChildFrameCompositingHelper::~ChildFrameCompositingHelper() { … }
void ChildFrameCompositingHelper::ChildFrameGone(float device_scale_factor) { … }
void ChildFrameCompositingHelper::SetSurfaceId(
const viz::SurfaceId& surface_id,
CaptureSequenceNumberChanged capture_sequence_number_changed,
AllowPaintHolding allow_paint_holding) { … }
void ChildFrameCompositingHelper::MaybeSetUpPaintHolding(
const viz::SurfaceId& fallback_id,
AllowPaintHolding allow_paint_holding) { … }
void ChildFrameCompositingHelper::PaintHoldingTimerFired() { … }
void ChildFrameCompositingHelper::UpdateVisibility(bool visible) { … }
scoped_refptr<cc::DisplayItemList>
ChildFrameCompositingHelper::PaintContentsToDisplayList() { … }
bool ChildFrameCompositingHelper::FillsBoundsCompletely() const { … }
}