5#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERPLATFORMVIEWSCONTROLLER_H_
6#define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERPLATFORMVIEWSCONTROLLER_H_
8#include <Metal/Metal.h>
10#include <unordered_map>
11#include <unordered_set>
45 withId:(NSString*)factoryId
46 gestureRecognizersBlockingPolicy:
50- (void)beginFrameWithSize:(
flutter::DlISize)frameSize;
62- (void)prerollCompositeEmbeddedView:(int64_t)viewId
63 withParams:(
std::unique_ptr<
flutter::EmbeddedViewParams>)params;
74- (
flutter::PostPrerollResult)postPrerollActionWithThreadMerger:
75 (const
fml::RefPtr<
fml::RasterThreadMerger>&)rasterThreadMerger;
81- (void)endFrameWithResubmit:(
BOOL)shouldResubmitFrame
82 threadMerger:(const
fml::RefPtr<
fml::RasterThreadMerger>&)rasterThreadMerger;
87- (
flutter::DlCanvas*)compositeEmbeddedViewWithId:(int64_t)viewId;
99 withIosContext:(const
std::shared_ptr<
flutter::IOSContext>&)iosContext;
111- (void)pushFilterToVisitedPlatformViews:(const
std::shared_ptr<
flutter::DlImageFilter>&)filter
112 withRect:(const
flutter::DlRect&)filterRect;
115- (void)pushVisitedPlatformViewId:(int64_t)viewId;
119@interface FlutterPlatformViewsController (Testing)
128- (UIView* _Nullable)platformViewForId:(int64_t)viewId;
138- (void)compositeView:(int64_t)viewId withParams:(const
flutter::EmbeddedViewParams&)params;
140- (const
flutter::EmbeddedViewParams&)compositionParamsForView:(int64_t)viewId;
142- (
std::vector<int64_t>&)previousCompositionOrder;
void(^ FlutterResult)(id _Nullable result)
#define NS_ASSUME_NONNULL_BEGIN
#define NS_ASSUME_NONNULL_END
FlutterPlatformViewGestureRecognizersBlockingPolicy
HWND(* FlutterPlatformViewFactory)(const FlutterPlatformViewCreationParameters *)