Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
flutter::IOSExternalViewEmbedder Class Reference

#include <ios_external_view_embedder.h>

Inheritance diagram for flutter::IOSExternalViewEmbedder:
flutter::ExternalViewEmbedder

Public Member Functions

 IOSExternalViewEmbedder (const std::shared_ptr< FlutterPlatformViewsController > &platform_views_controller, std::shared_ptr< IOSContext > context)
 
virtual ~IOSExternalViewEmbedder () override
 
- Public Member Functions inherited from flutter::ExternalViewEmbedder
 ExternalViewEmbedder ()=default
 
virtual ~ExternalViewEmbedder ()=default
 
virtual void CollectView (int64_t view_id)
 
virtual DlCanvasGetRootCanvas ()=0
 
virtual void CancelFrame ()=0
 
virtual void BeginFrame (GrDirectContext *context, const fml::RefPtr< fml::RasterThreadMerger > &raster_thread_merger)=0
 
virtual void PrerollCompositeEmbeddedView (int64_t platform_view_id, std::unique_ptr< EmbeddedViewParams > params)=0
 
virtual PostPrerollResult PostPrerollAction (const fml::RefPtr< fml::RasterThreadMerger > &raster_thread_merger)
 
virtual DlCanvasCompositeEmbeddedView (int64_t platform_view_id)=0
 
virtual void PrepareFlutterView (SkISize frame_size, double device_pixel_ratio)=0
 
virtual void SubmitFlutterView (int64_t flutter_view_id, GrDirectContext *context, const std::shared_ptr< impeller::AiksContext > &aiks_context, std::unique_ptr< SurfaceFrame > frame)
 
virtual void EndFrame (bool should_resubmit_frame, const fml::RefPtr< fml::RasterThreadMerger > &raster_thread_merger)
 
virtual bool SupportsDynamicThreadMerging ()
 
virtual void Teardown ()
 
void SetUsedThisFrame (bool used_this_frame)
 
bool GetUsedThisFrame () const
 
virtual void PushVisitedPlatformView (int64_t platform_view_id)
 
virtual void PushFilterToVisitedPlatformViews (const std::shared_ptr< const DlImageFilter > &filter, const SkRect &filter_rect)
 

Detailed Description

Definition at line 13 of file ios_external_view_embedder.h.

Constructor & Destructor Documentation

◆ IOSExternalViewEmbedder()

flutter::IOSExternalViewEmbedder::IOSExternalViewEmbedder ( const std::shared_ptr< FlutterPlatformViewsController > &  platform_views_controller,
std::shared_ptr< IOSContext context 
)

Definition at line 13 of file ios_external_view_embedder.mm.

16 : platform_views_controller_(platform_views_controller), ios_context_(std::move(context)) {
17 FML_CHECK(ios_context_);
18}
#define FML_CHECK(condition)
Definition: logging.h:85

◆ ~IOSExternalViewEmbedder()

flutter::IOSExternalViewEmbedder::~IOSExternalViewEmbedder ( )
overridevirtualdefault

The documentation for this class was generated from the following files: