5 #ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERMUTATORVIEW_H_
6 #define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERMUTATORVIEW_H_
8 #import <Cocoa/Cocoa.h>
11 #include "flutter/shell/platform/embedder/embedder.h"
23 const std::vector<FlutterPlatformViewMutation>&
mutations,
27 FlutterPlatformViewIdentifier
identifier()
const {
return identifier_; }
28 const std::vector<FlutterPlatformViewMutation>&
mutations()
const {
return mutations_; }
29 FlutterPoint
offset()
const {
return offset_; }
30 FlutterSize
size()
const {
return size_; }
33 FlutterPlatformViewIdentifier identifier_;
34 std::vector<FlutterPlatformViewMutation> mutations_;
54 @property(readonly, nonatomic) BOOL cleanupScheduled;
56 - (void)processMouseMoveEvent:(nonnull NSEvent*)event
58 overlayRegion:(const std::vector<CGRect>&)region;
66 - (nonnull instancetype)initWithPlatformView:(nonnull NSView*)platformView
69 - (nonnull instancetype)initWithPlatformView:(nonnull NSView*)platformView;
77 - (void)applyFlutterLayer:(nonnull const
flutter::PlatformViewLayer*)layer;
84 - (void)addHitTestIgnoreRegion:(CGRect)region;
88 #endif // FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERMUTATORVIEW_H_