5 #ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERPLATFORMVIEWCONTROLLER_H_
6 #define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERPLATFORMVIEWCONTROLLER_H_
8 #import <Cocoa/Cocoa.h>
15 #include <unordered_set>
28 - (void)onCreateWithViewIdentifier:(int64_t)viewId
29 viewType:(nonnull NSString*)viewType
30 arguments:(nullable
id)args
37 - (void)onDisposeWithViewID:(int64_t)viewId result:(nonnull
FlutterResult)result;
42 - (nullable NSView*)platformViewWithID:(int64_t)viewId;
48 - (void)registerViewFactory:(nonnull NSObject<FlutterPlatformViewFactory>*)factory
49 withId:(nonnull NSString*)factoryId;
59 - (void)disposePlatformViews;
63 #endif // FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERPLATFORMVIEWCONTROLLER_H_