chromium/third_party/blink/renderer/platform/graphics/compositing/content_layer_client_impl.cc

// Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/renderer/platform/graphics/compositing/content_layer_client_impl.h"

#include <memory>
#include <optional>

#include "base/trace_event/traced_value.h"
#include "base/types/optional_util.h"
#include "cc/paint/paint_flags.h"
#include "cc/paint/paint_op_buffer.h"
#include "third_party/blink/renderer/platform/geometry/geometry_as_json.h"
#include "third_party/blink/renderer/platform/graphics/compositing/adjust_mask_layer_geometry.h"
#include "third_party/blink/renderer/platform/graphics/compositing/paint_chunks_to_cc_layer.h"
#include "third_party/blink/renderer/platform/graphics/compositing/pending_layer.h"
#include "third_party/blink/renderer/platform/graphics/logging_canvas.h"
#include "third_party/blink/renderer/platform/graphics/paint/display_item_list.h"
#include "third_party/blink/renderer/platform/graphics/paint/drawing_display_item.h"
#include "third_party/blink/renderer/platform/graphics/paint/paint_artifact.h"
#include "third_party/blink/renderer/platform/graphics/paint/paint_chunk_subset.h"
#include "third_party/blink/renderer/platform/graphics/paint/raster_invalidation_tracking.h"
#include "third_party/blink/renderer/platform/graphics/paint/scroll_paint_property_node.h"
#include "third_party/blink/renderer/platform/json/json_values.h"
#include "third_party/blink/renderer/platform/runtime_enabled_features.h"

#if DCHECK_IS_ON()
#include "cc/trees/layer_tree_host.h"
#include "cc/trees/property_tree.h"
#endif

namespace blink {

namespace {

bool DrawingShouldFillScrollingContentsLayer(
    const PropertyTreeState& layer_state,
    const cc::PictureLayer& layer) {}

}  // namespace

ContentLayerClientImpl::ContentLayerClientImpl()
    :{}

ContentLayerClientImpl::~ContentLayerClientImpl() {}

void ContentLayerClientImpl::AppendAdditionalInfoAsJSON(
    LayerTreeFlags flags,
    const cc::Layer& layer,
    JSONObject& json) const {}

void ContentLayerClientImpl::UpdateCcPictureLayer(
    const PendingLayer& pending_layer) {}

void ContentLayerClientImpl::InvalidateRect(const gfx::Rect& rect) {}

size_t ContentLayerClientImpl::ApproximateUnsharedMemoryUsage() const {}

}  // namespace blink