5#ifndef FLUTTER_SHELL_PLATFORM_COMMON_CLIENT_WRAPPER_TESTING_STUB_FLUTTER_API_H_
6#define FLUTTER_SHELL_PLATFORM_COMMON_CLIENT_WRAPPER_TESTING_STUB_FLUTTER_API_H_
10#include "flutter/shell/platform/common/public/flutter_messenger.h"
11#include "flutter/shell/platform/common/public/flutter_plugin_registrar.h"
44 const size_t message_size) {
51 const size_t message_size,
61 size_t data_length) {}
99 std::unique_ptr<StubFlutterApi> stub_;
static void info(const char *fmt,...) SK_PRINTF_LIKE(1
ScopedStubFlutterApi(std::unique_ptr< StubFlutterApi > stub)
virtual bool TextureRegistrarMarkTextureFrameAvailable(int64_t texture_id)
static void SetTestStub(StubFlutterApi *stub)
virtual void MessengerSetCallback(const char *channel, FlutterDesktopMessageCallback callback, void *user_data)
static StubFlutterApi * GetTestStub()
virtual void PluginRegistrarSetDestructionHandler(FlutterDesktopOnPluginRegistrarDestroyed callback)
virtual void MessengerSendResponse(const FlutterDesktopMessageResponseHandle *handle, const uint8_t *data, size_t data_length)
virtual bool MessengerSendWithReply(const char *channel, const uint8_t *message, const size_t message_size, const FlutterDesktopBinaryReply reply, void *user_data)
bool message_engine_result
virtual ~StubFlutterApi()
virtual bool MessengerSend(const char *channel, const uint8_t *message, const size_t message_size)
virtual void TextureRegistrarUnregisterExternalTexture(int64_t texture_id, void(*callback)(void *user_data), void *user_data)
virtual int64_t TextureRegistrarRegisterExternalTexture(const FlutterDesktopTextureInfo *info)
FlKeyEvent uint64_t FlKeyResponderAsyncCallback callback
void(* FlutterDesktopBinaryReply)(const uint8_t *data, size_t data_size, void *user_data)
void(* FlutterDesktopMessageCallback)(FlutterDesktopMessengerRef, const FlutterDesktopMessage *, void *)
void(* FlutterDesktopOnPluginRegistrarDestroyed)(FlutterDesktopPluginRegistrarRef)
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot data