#include "cc/layers/view_transition_content_layer_impl.h"
#include "base/memory/ptr_util.h"
#include "cc/layers/append_quads_data.h"
#include "cc/layers/layer_impl.h"
#include "cc/trees/layer_tree_impl.h"
#include "components/viz/common/quads/shared_element_draw_quad.h"
#include "components/viz/common/quads/solid_color_draw_quad.h"
#include "components/viz/common/view_transition_element_resource_id.h"
namespace cc {
std::unique_ptr<ViewTransitionContentLayerImpl>
ViewTransitionContentLayerImpl::Create(
LayerTreeImpl* tree_impl,
int id,
const viz::ViewTransitionElementResourceId& resource_id,
bool is_live_content_layer) { … }
ViewTransitionContentLayerImpl::ViewTransitionContentLayerImpl(
LayerTreeImpl* tree_impl,
int id,
const viz::ViewTransitionElementResourceId& resource_id,
bool is_live_content_layer)
: … { … }
ViewTransitionContentLayerImpl::~ViewTransitionContentLayerImpl() = default;
mojom::LayerType ViewTransitionContentLayerImpl::GetLayerType() const { … }
std::unique_ptr<LayerImpl> ViewTransitionContentLayerImpl::CreateLayerImpl(
LayerTreeImpl* tree_impl) const { … }
void ViewTransitionContentLayerImpl::NotifyKnownResourceIdsBeforeAppendQuads(
const base::flat_set<viz::ViewTransitionElementResourceId>&
known_resource_ids) { … }
void ViewTransitionContentLayerImpl::AppendQuads(
viz::CompositorRenderPass* render_pass,
AppendQuadsData* append_quads_data) { … }
viz::ViewTransitionElementResourceId
ViewTransitionContentLayerImpl::ViewTransitionResourceId() const { … }
}