5#ifndef FLUTTER_LIB_UI_PAINTING_ENGINE_LAYER_H_
6#define FLUTTER_LIB_UI_PAINTING_ENGINE_LAYER_H_
8#include "flutter/flow/layers/container_layer.h"
9#include "flutter/lib/ui/dart_wrapper.h"
16 DEFINE_WRAPPERTYPEINFO();
23 const std::shared_ptr<flutter::ContainerLayer>& layer) {
24 auto engine_layer = fml::MakeRefCounted<EngineLayer>(layer);
25 engine_layer->AssociateWithDartWrapper(dart_handle);
30 std::shared_ptr<flutter::ContainerLayer>
Layer()
const {
return layer_; }
33 explicit EngineLayer(std::shared_ptr<flutter::ContainerLayer> layer);
34 std::shared_ptr<flutter::ContainerLayer> layer_;
static void MakeRetained(Dart_Handle dart_handle, const std::shared_ptr< flutter::ContainerLayer > &layer)
std::shared_ptr< flutter::ContainerLayer > Layer() const
struct _Dart_Handle * Dart_Handle