5 #ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERVIEW_H_
6 #define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERVIEW_H_
8 #import <Cocoa/Cocoa.h>
22 - (void)viewDidReshape:(nonnull NSView*)view;
27 - (BOOL)viewShouldAcceptFirstResponder:(nonnull NSView*)view;
40 - (nullable instancetype)initWithMTLDevice:(nonnull
id<MTLDevice>)device
41 commandQueue:(nonnull
id<MTLCommandQueue>)commandQueue
45 NS_DESIGNATED_INITIALIZER;
47 - (nullable instancetype)initWithFrame:(NSRect)frameRect
48 pixelFormat:(nullable NSOpenGLPixelFormat*)format NS_UNAVAILABLE;
49 - (nonnull instancetype)initWithFrame:(NSRect)frameRect NS_UNAVAILABLE;
50 - (nullable instancetype)initWithCoder:(nonnull NSCoder*)coder NS_UNAVAILABLE;
66 - (void)setBackgroundColor:(nonnull NSColor*)color;
73 - (void)didUpdateMouseCursor:(nonnull NSCursor*)cursor;
77 #endif // FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_FLUTTERVIEW_H_