5 #ifndef FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_PLATFORM_MESSAGE_RESPONSE_DARWIN_H_
6 #define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_PLATFORM_MESSAGE_RESPONSE_DARWIN_H_
8 #include <Foundation/Foundation.h>
10 #include "flutter/fml/macros.h"
11 #include "flutter/fml/make_copyable.h"
12 #include "flutter/fml/platform/darwin/scoped_block.h"
13 #include "flutter/fml/task_runner.h"
14 #include "flutter/lib/ui/window/platform_message_response.h"
23 void Complete(std::unique_ptr<fml::Mapping> data)
override;
29 fml::RefPtr<fml::TaskRunner> platform_task_runner);
33 fml::ScopedBlock<PlatformMessageResponseCallback> callback_;
34 fml::RefPtr<fml::TaskRunner> platform_task_runner_;
41 #endif // FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_PLATFORM_MESSAGE_RESPONSE_DARWIN_H_