Flutter Engine
The Flutter Engine
Public Member Functions | Protected Types | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Friends | List of all members
flutter::testing::EmbedderTestContext Class Referenceabstract

#include <embedder_test_context.h>

Inheritance diagram for flutter::testing::EmbedderTestContext:
flutter::testing::EmbedderTestContextGL flutter::testing::EmbedderTestContextMetal flutter::testing::EmbedderTestContextSoftware flutter::testing::EmbedderTestContextVulkan

Public Member Functions

 EmbedderTestContext (std::string assets_path="")
 
virtual ~EmbedderTestContext ()
 
const std::string & GetAssetsPath () const
 
const fml::MappingGetVMSnapshotData () const
 
const fml::MappingGetVMSnapshotInstructions () const
 
const fml::MappingGetIsolateSnapshotData () const
 
const fml::MappingGetIsolateSnapshotInstructions () const
 
FlutterEngineAOTData GetAOTData () const
 
void SetRootSurfaceTransformation (SkMatrix matrix)
 
void AddIsolateCreateCallback (const fml::closure &closure)
 
void SetSemanticsUpdateCallback2 (SemanticsUpdateCallback2 update_semantics)
 
void SetSemanticsUpdateCallback (SemanticsUpdateCallback update_semantics)
 
void AddNativeCallback (const char *name, Dart_NativeFunction function)
 
void SetSemanticsNodeCallback (SemanticsNodeCallback update_semantics_node)
 
void SetSemanticsCustomActionCallback (SemanticsActionCallback semantics_custom_action)
 
void SetPlatformMessageCallback (const std::function< void(const FlutterPlatformMessage *)> &callback)
 
void SetLogMessageCallback (const LogMessageCallback &log_message_callback)
 
void SetChannelUpdateCallback (const ChannelUpdateCallback &callback)
 
std::future< sk_sp< SkImage > > GetNextSceneImage ()
 
EmbedderTestCompositorGetCompositor ()
 
virtual size_t GetSurfacePresentCount () const =0
 
virtual EmbedderTestContextType GetContextType () const =0
 
void SetVsyncCallback (std::function< void(intptr_t)> callback)
 
void RunVsyncCallback (intptr_t baton)
 

Protected Types

using NextSceneCallback = std::function< void(sk_sp< SkImage > image)>
 

Protected Member Functions

FlutterUpdateSemanticsCallback2 GetUpdateSemanticsCallback2Hook ()
 
FlutterUpdateSemanticsCallback GetUpdateSemanticsCallbackHook ()
 
FlutterUpdateSemanticsNodeCallback GetUpdateSemanticsNodeCallbackHook ()
 
FlutterUpdateSemanticsCustomActionCallback GetUpdateSemanticsCustomActionCallbackHook ()
 
FlutterChannelUpdateCallback GetChannelUpdateCallbackHook ()
 
void SetupAOTMappingsIfNecessary ()
 
void SetupAOTDataIfNecessary ()
 
virtual void SetupCompositor ()=0
 
void FireIsolateCreateCallbacks ()
 
void SetNativeResolver ()
 
FlutterTransformation GetRootSurfaceTransformation ()
 
void PlatformMessageCallback (const FlutterPlatformMessage *message)
 
void FireRootSurfacePresentCallbackIfPresent (const std::function< sk_sp< SkImage >(void)> &image_callback)
 
void SetNextSceneCallback (const NextSceneCallback &next_scene_callback)
 
virtual void SetupSurface (SkISize surface_size)=0
 
 FML_DISALLOW_COPY_AND_ASSIGN (EmbedderTestContext)
 

Static Protected Member Functions

static VoidCallback GetIsolateCreateCallbackHook ()
 
static FlutterLogMessageCallback GetLogMessageCallbackHook ()
 
static FlutterComputePlatformResolvedLocaleCallback GetComputePlatformResolvedLocaleCallbackHook ()
 

Protected Attributes

std::string assets_path_
 
ELFAOTSymbols aot_symbols_
 
std::unique_ptr< fml::Mappingvm_snapshot_data_
 
std::unique_ptr< fml::Mappingvm_snapshot_instructions_
 
std::unique_ptr< fml::Mappingisolate_snapshot_data_
 
std::unique_ptr< fml::Mappingisolate_snapshot_instructions_
 
UniqueAOTData aot_data_
 
std::vector< fml::closureisolate_create_callbacks_
 
std::shared_ptr< TestDartNativeResolvernative_resolver_
 
SemanticsUpdateCallback2 update_semantics_callback2_
 
SemanticsUpdateCallback update_semantics_callback_
 
SemanticsNodeCallback update_semantics_node_callback_
 
SemanticsActionCallback update_semantics_custom_action_callback_
 
ChannelUpdateCallback channel_update_callback_
 
std::function< void(const FlutterPlatformMessage *)> platform_message_callback_
 
LogMessageCallback log_message_callback_
 
std::unique_ptr< EmbedderTestCompositorcompositor_
 
NextSceneCallback next_scene_callback_
 
SkMatrix root_surface_transformation_
 
std::function< void(intptr_t)> vsync_callback_ = nullptr
 

Friends

class EmbedderConfigBuilder
 

Detailed Description

Definition at line 55 of file embedder_test_context.h.

Member Typedef Documentation

◆ NextSceneCallback

Definition at line 117 of file embedder_test_context.h.

Constructor & Destructor Documentation

◆ EmbedderTestContext()

flutter::testing::EmbedderTestContext::EmbedderTestContext ( std::string  assets_path = "")
explicit

Definition at line 20 of file embedder_test_context.cc.

21 : assets_path_(std::move(assets_path)),
24 native_resolver_(std::make_shared<TestDartNativeResolver>()) {
28 [weak_resolver =
29 std::weak_ptr<TestDartNativeResolver>{native_resolver_}]() {
30 if (auto resolver = weak_resolver.lock()) {
31 resolver->SetNativeResolverForIsolate();
32 }
33 });
34}
std::vector< fml::closure > isolate_create_callbacks_
std::shared_ptr< TestDartNativeResolver > native_resolver_
ELFAOTSymbols LoadELFSymbolFromFixturesIfNeccessary(std::string elf_filename)
Attempts to resolve AOT symbols from the portable ELF loader. This location is automatically resolved...
Definition: elf_loader.cc:17
constexpr const char * kDefaultAOTAppELFFileName
Definition: elf_loader.h:17

◆ ~EmbedderTestContext()

flutter::testing::EmbedderTestContext::~EmbedderTestContext ( )
virtualdefault

Member Function Documentation

◆ AddIsolateCreateCallback()

void flutter::testing::EmbedderTestContext::AddIsolateCreateCallback ( const fml::closure closure)

Definition at line 99 of file embedder_test_context.cc.

100 {
101 if (closure) {
103 }
104}
std::function< void()> closure
Definition: closure.h:14

◆ AddNativeCallback()

void flutter::testing::EmbedderTestContext::AddNativeCallback ( const char *  name,
Dart_NativeFunction  function 
)

Definition at line 119 of file embedder_test_context.cc.

120 {
121 native_resolver_->AddNativeCallback({name}, function);
122}
Dart_NativeFunction function
Definition: fuchsia.cc:51
DEF_SWITCHES_START aot vmservice shared library name
Definition: switches.h:32

◆ FireIsolateCreateCallbacks()

void flutter::testing::EmbedderTestContext::FireIsolateCreateCallbacks ( )
protected

Definition at line 113 of file embedder_test_context.cc.

113 {
114 for (const auto& closure : isolate_create_callbacks_) {
115 closure();
116 }
117}

◆ FireRootSurfacePresentCallbackIfPresent()

void flutter::testing::EmbedderTestContext::FireRootSurfacePresentCallbackIfPresent ( const std::function< sk_sp< SkImage >(void)> &  image_callback)
protected
Note
Procedure doesn't copy all closures.

Definition at line 285 of file embedder_test_context.cc.

286 {
288 return;
289 }
291 next_scene_callback_ = nullptr;
292 callback(image_callback());
293}
FlKeyEvent uint64_t FlKeyResponderAsyncCallback callback

◆ FML_DISALLOW_COPY_AND_ASSIGN()

flutter::testing::EmbedderTestContext::FML_DISALLOW_COPY_AND_ASSIGN ( EmbedderTestContext  )
protected

◆ GetAOTData()

FlutterEngineAOTData flutter::testing::EmbedderTestContext::GetAOTData ( ) const

Definition at line 91 of file embedder_test_context.cc.

91 {
92 return aot_data_.get();
93}

◆ GetAssetsPath()

const std::string & flutter::testing::EmbedderTestContext::GetAssetsPath ( ) const

Definition at line 70 of file embedder_test_context.cc.

70 {
71 return assets_path_;
72}

◆ GetChannelUpdateCallbackHook()

FlutterChannelUpdateCallback flutter::testing::EmbedderTestContext::GetChannelUpdateCallbackHook ( )
protected

Definition at line 241 of file embedder_test_context.cc.

241 {
242 if (channel_update_callback_ == nullptr) {
243 return nullptr;
244 }
245
246 return [](const FlutterChannelUpdate* update, void* user_data) {
247 auto context = reinterpret_cast<EmbedderTestContext*>(user_data);
248 if (context->channel_update_callback_) {
249 context->channel_update_callback_(update);
250 }
251 };
252}
EmbedderTestContext(std::string assets_path="")
Definition: update.py:1
An update to whether a message channel has a listener set or not.
Definition: embedder.h:1535
void * user_data

◆ GetCompositor()

EmbedderTestCompositor & flutter::testing::EmbedderTestContext::GetCompositor ( )

Definition at line 258 of file embedder_test_context.cc.

258 {
260 << "Accessed the compositor on a context where one was not set up. Use "
261 "the config builder to set up a context with a custom compositor.";
262 return *compositor_;
263}
std::unique_ptr< EmbedderTestCompositor > compositor_
#define FML_CHECK(condition)
Definition: logging.h:85

◆ GetComputePlatformResolvedLocaleCallbackHook()

FlutterComputePlatformResolvedLocaleCallback flutter::testing::EmbedderTestContext::GetComputePlatformResolvedLocaleCallbackHook ( )
staticprotected

Definition at line 233 of file embedder_test_context.cc.

233 {
234 return [](const FlutterLocale** supported_locales,
235 size_t length) -> const FlutterLocale* {
236 return supported_locales[0];
237 };
238}
size_t length

◆ GetContextType()

virtual EmbedderTestContextType flutter::testing::EmbedderTestContext::GetContextType ( ) const
pure virtual

◆ GetIsolateCreateCallbackHook()

VoidCallback flutter::testing::EmbedderTestContext::GetIsolateCreateCallbackHook ( )
staticprotected

Definition at line 106 of file embedder_test_context.cc.

106 {
107 return [](void* user_data) {
108 reinterpret_cast<EmbedderTestContext*>(user_data)
110 };
111}

◆ GetIsolateSnapshotData()

const fml::Mapping * flutter::testing::EmbedderTestContext::GetIsolateSnapshotData ( ) const

Definition at line 82 of file embedder_test_context.cc.

82 {
83 return isolate_snapshot_data_.get();
84}
std::unique_ptr< fml::Mapping > isolate_snapshot_data_

◆ GetIsolateSnapshotInstructions()

const fml::Mapping * flutter::testing::EmbedderTestContext::GetIsolateSnapshotInstructions ( ) const

Definition at line 86 of file embedder_test_context.cc.

87 {
89}
std::unique_ptr< fml::Mapping > isolate_snapshot_instructions_

◆ GetLogMessageCallbackHook()

FlutterLogMessageCallback flutter::testing::EmbedderTestContext::GetLogMessageCallbackHook ( )
staticprotected

Definition at line 223 of file embedder_test_context.cc.

223 {
224 return [](const char* tag, const char* message, void* user_data) {
225 auto context = reinterpret_cast<EmbedderTestContext*>(user_data);
226 if (context->log_message_callback_) {
227 context->log_message_callback_(tag, message);
228 }
229 };
230}
Win32Message message

◆ GetNextSceneImage()

std::future< sk_sp< SkImage > > flutter::testing::EmbedderTestContext::GetNextSceneImage ( )

Definition at line 274 of file embedder_test_context.cc.

274 {
275 std::promise<sk_sp<SkImage>> promise;
276 auto future = promise.get_future();
278 fml::MakeCopyable([promise = std::move(promise)](auto image) mutable {
279 promise.set_value(image);
280 }));
281 return future;
282}
void SetNextSceneCallback(const NextSceneCallback &next_scene_callback)
sk_sp< const SkImage > image
Definition: SkRecords.h:269
internal::CopyableLambda< T > MakeCopyable(T lambda)
Definition: make_copyable.h:57

◆ GetRootSurfaceTransformation()

FlutterTransformation flutter::testing::EmbedderTestContext::GetRootSurfaceTransformation ( )
protected

Definition at line 254 of file embedder_test_context.cc.

254 {
256}
FlutterTransformation FlutterTransformationMake(const SkMatrix &matrix)

◆ GetSurfacePresentCount()

virtual size_t flutter::testing::EmbedderTestContext::GetSurfacePresentCount ( ) const
pure virtual

◆ GetUpdateSemanticsCallback2Hook()

FlutterUpdateSemanticsCallback2 flutter::testing::EmbedderTestContext::GetUpdateSemanticsCallback2Hook ( )
protected

Definition at line 168 of file embedder_test_context.cc.

168 {
169 if (update_semantics_callback2_ == nullptr) {
170 return nullptr;
171 }
172
173 return [](const FlutterSemanticsUpdate2* update, void* user_data) {
174 auto context = reinterpret_cast<EmbedderTestContext*>(user_data);
175 if (context->update_semantics_callback2_) {
176 context->update_semantics_callback2_(update);
177 }
178 };
179}
SemanticsUpdateCallback2 update_semantics_callback2_
A batch of updates to semantics nodes and custom actions.
Definition: embedder.h:1504

◆ GetUpdateSemanticsCallbackHook()

FlutterUpdateSemanticsCallback flutter::testing::EmbedderTestContext::GetUpdateSemanticsCallbackHook ( )
protected

Definition at line 182 of file embedder_test_context.cc.

182 {
183 if (update_semantics_callback_ == nullptr) {
184 return nullptr;
185 }
186
187 return [](const FlutterSemanticsUpdate* update, void* user_data) {
188 auto context = reinterpret_cast<EmbedderTestContext*>(user_data);
189 if (context->update_semantics_callback_) {
190 context->update_semantics_callback_(update);
191 }
192 };
193}
SemanticsUpdateCallback update_semantics_callback_

◆ GetUpdateSemanticsCustomActionCallbackHook()

FlutterUpdateSemanticsCustomActionCallback flutter::testing::EmbedderTestContext::GetUpdateSemanticsCustomActionCallbackHook ( )
protected

Definition at line 210 of file embedder_test_context.cc.

210 {
212 return nullptr;
213 }
214
215 return [](const FlutterSemanticsCustomAction* action, void* user_data) {
216 auto context = reinterpret_cast<EmbedderTestContext*>(user_data);
217 if (context->update_semantics_custom_action_callback_) {
218 context->update_semantics_custom_action_callback_(action);
219 }
220 };
221}
SemanticsActionCallback update_semantics_custom_action_callback_

◆ GetUpdateSemanticsNodeCallbackHook()

FlutterUpdateSemanticsNodeCallback flutter::testing::EmbedderTestContext::GetUpdateSemanticsNodeCallbackHook ( )
protected

Definition at line 196 of file embedder_test_context.cc.

196 {
197 if (update_semantics_node_callback_ == nullptr) {
198 return nullptr;
199 }
200
201 return [](const FlutterSemanticsNode* semantics_node, void* user_data) {
202 auto context = reinterpret_cast<EmbedderTestContext*>(user_data);
203 if (context->update_semantics_node_callback_) {
204 context->update_semantics_node_callback_(semantics_node);
205 }
206 };
207}
SemanticsNodeCallback update_semantics_node_callback_

◆ GetVMSnapshotData()

const fml::Mapping * flutter::testing::EmbedderTestContext::GetVMSnapshotData ( ) const

Definition at line 74 of file embedder_test_context.cc.

74 {
75 return vm_snapshot_data_.get();
76}
std::unique_ptr< fml::Mapping > vm_snapshot_data_

◆ GetVMSnapshotInstructions()

const fml::Mapping * flutter::testing::EmbedderTestContext::GetVMSnapshotInstructions ( ) const

Definition at line 78 of file embedder_test_context.cc.

78 {
79 return vm_snapshot_instructions_.get();
80}
std::unique_ptr< fml::Mapping > vm_snapshot_instructions_

◆ PlatformMessageCallback()

void flutter::testing::EmbedderTestContext::PlatformMessageCallback ( const FlutterPlatformMessage message)
protected

Definition at line 155 of file embedder_test_context.cc.

156 {
159 }
160}
std::function< void(const FlutterPlatformMessage *)> platform_message_callback_

◆ RunVsyncCallback()

void flutter::testing::EmbedderTestContext::RunVsyncCallback ( intptr_t  baton)

Definition at line 300 of file embedder_test_context.cc.

300 {
301 vsync_callback_(baton);
302}
std::function< void(intptr_t)> vsync_callback_

◆ SetChannelUpdateCallback()

void flutter::testing::EmbedderTestContext::SetChannelUpdateCallback ( const ChannelUpdateCallback callback)

Definition at line 150 of file embedder_test_context.cc.

◆ SetLogMessageCallback()

void flutter::testing::EmbedderTestContext::SetLogMessageCallback ( const LogMessageCallback log_message_callback)

Definition at line 162 of file embedder_test_context.cc.

◆ SetNativeResolver()

void flutter::testing::EmbedderTestContext::SetNativeResolver ( )
protected

◆ SetNextSceneCallback()

void flutter::testing::EmbedderTestContext::SetNextSceneCallback ( const NextSceneCallback next_scene_callback)
protected

Definition at line 265 of file embedder_test_context.cc.

266 {
267 if (compositor_) {
268 compositor_->SetNextSceneCallback(next_scene_callback);
269 return;
270 }
271 next_scene_callback_ = next_scene_callback;
272}

◆ SetPlatformMessageCallback()

void flutter::testing::EmbedderTestContext::SetPlatformMessageCallback ( const std::function< void(const FlutterPlatformMessage *)> &  callback)

Definition at line 145 of file embedder_test_context.cc.

◆ SetRootSurfaceTransformation()

void flutter::testing::EmbedderTestContext::SetRootSurfaceTransformation ( SkMatrix  matrix)

Definition at line 95 of file embedder_test_context.cc.

95 {
97}
unsigned useCenter Optional< SkMatrix > matrix
Definition: SkRecords.h:258

◆ SetSemanticsCustomActionCallback()

void flutter::testing::EmbedderTestContext::SetSemanticsCustomActionCallback ( SemanticsActionCallback  semantics_custom_action)

Definition at line 139 of file embedder_test_context.cc.

140 {
142 std::move(update_semantics_custom_action_callback);
143}

◆ SetSemanticsNodeCallback()

void flutter::testing::EmbedderTestContext::SetSemanticsNodeCallback ( SemanticsNodeCallback  update_semantics_node)

Definition at line 134 of file embedder_test_context.cc.

135 {
136 update_semantics_node_callback_ = std::move(update_semantics_node_callback);
137}

◆ SetSemanticsUpdateCallback()

void flutter::testing::EmbedderTestContext::SetSemanticsUpdateCallback ( SemanticsUpdateCallback  update_semantics)

Definition at line 129 of file embedder_test_context.cc.

130 {
131 update_semantics_callback_ = std::move(update_semantics_callback);
132}

◆ SetSemanticsUpdateCallback2()

void flutter::testing::EmbedderTestContext::SetSemanticsUpdateCallback2 ( SemanticsUpdateCallback2  update_semantics)

Definition at line 124 of file embedder_test_context.cc.

125 {
126 update_semantics_callback2_ = std::move(update_semantics_callback);
127}

◆ SetupAOTDataIfNecessary()

void flutter::testing::EmbedderTestContext::SetupAOTDataIfNecessary ( )
protected

Definition at line 52 of file embedder_test_context.cc.

52 {
54 return;
55 }
56 FlutterEngineAOTDataSource data_in = {};
57 FlutterEngineAOTData data_out = nullptr;
58
59 const auto elf_path = fml::paths::JoinPaths(
61
63 data_in.elf_path = elf_path.c_str();
64
65 ASSERT_EQ(FlutterEngineCreateAOTData(&data_in, &data_out), kSuccess);
66
67 aot_data_.reset(data_out);
68}
static bool IsRunningPrecompiledCode()
Checks if VM instances in the process can run precompiled code. This call can be made at any time and...
Definition: dart_vm.cc:205
FlutterEngineResult FlutterEngineCreateAOTData(const FlutterEngineAOTDataSource *source, FlutterEngineAOTData *data_out)
Creates the necessary data structures to launch a Flutter Dart application in AOT mode....
Definition: embedder.cc:1426
@ kFlutterEngineAOTDataSourceTypeElfPath
Definition: embedder.h:2110
const char * GetFixturesPath()
Returns the directory containing the test fixture for the target if this target has fixtures configur...
std::string JoinPaths(std::initializer_list< std::string > components)
Definition: paths.cc:14
FlutterEngineAOTDataSourceType type
Definition: embedder.h:2116
const char * elf_path
Absolute path to an ELF library file.
Definition: embedder.h:2119

◆ SetupAOTMappingsIfNecessary()

void flutter::testing::EmbedderTestContext::SetupAOTMappingsIfNecessary ( )
protected

Definition at line 38 of file embedder_test_context.cc.

38 {
40 return;
41 }
43 std::make_unique<fml::NonOwnedMapping>(aot_symbols_.vm_snapshot_data, 0u);
44 vm_snapshot_instructions_ = std::make_unique<fml::NonOwnedMapping>(
47 std::make_unique<fml::NonOwnedMapping>(aot_symbols_.vm_isolate_data, 0u);
48 isolate_snapshot_instructions_ = std::make_unique<fml::NonOwnedMapping>(
50}
const uint8_t * vm_snapshot_data
Definition: elf_loader.h:35
const uint8_t * vm_snapshot_instrs
Definition: elf_loader.h:36
const uint8_t * vm_isolate_instrs
Definition: elf_loader.h:38
const uint8_t * vm_isolate_data
Definition: elf_loader.h:37

◆ SetupCompositor()

virtual void flutter::testing::EmbedderTestContext::SetupCompositor ( )
protectedpure virtual

◆ SetupSurface()

virtual void flutter::testing::EmbedderTestContext::SetupSurface ( SkISize  surface_size)
protectedpure virtual

◆ SetVsyncCallback()

void flutter::testing::EmbedderTestContext::SetVsyncCallback ( std::function< void(intptr_t)>  callback)

Definition at line 295 of file embedder_test_context.cc.

296 {
297 vsync_callback_ = std::move(callback);
298}

Friends And Related Function Documentation

◆ EmbedderConfigBuilder

friend class EmbedderConfigBuilder
friend

Definition at line 115 of file embedder_test_context.h.

Member Data Documentation

◆ aot_data_

UniqueAOTData flutter::testing::EmbedderTestContext::aot_data_
protected

Definition at line 131 of file embedder_test_context.h.

◆ aot_symbols_

ELFAOTSymbols flutter::testing::EmbedderTestContext::aot_symbols_
protected

Definition at line 126 of file embedder_test_context.h.

◆ assets_path_

std::string flutter::testing::EmbedderTestContext::assets_path_
protected

Definition at line 125 of file embedder_test_context.h.

◆ channel_update_callback_

ChannelUpdateCallback flutter::testing::EmbedderTestContext::channel_update_callback_
protected

Definition at line 138 of file embedder_test_context.h.

◆ compositor_

std::unique_ptr<EmbedderTestCompositor> flutter::testing::EmbedderTestContext::compositor_
protected

Definition at line 141 of file embedder_test_context.h.

◆ isolate_create_callbacks_

std::vector<fml::closure> flutter::testing::EmbedderTestContext::isolate_create_callbacks_
protected

Definition at line 132 of file embedder_test_context.h.

◆ isolate_snapshot_data_

std::unique_ptr<fml::Mapping> flutter::testing::EmbedderTestContext::isolate_snapshot_data_
protected

Definition at line 129 of file embedder_test_context.h.

◆ isolate_snapshot_instructions_

std::unique_ptr<fml::Mapping> flutter::testing::EmbedderTestContext::isolate_snapshot_instructions_
protected

Definition at line 130 of file embedder_test_context.h.

◆ log_message_callback_

LogMessageCallback flutter::testing::EmbedderTestContext::log_message_callback_
protected

Definition at line 140 of file embedder_test_context.h.

◆ native_resolver_

std::shared_ptr<TestDartNativeResolver> flutter::testing::EmbedderTestContext::native_resolver_
protected

Definition at line 133 of file embedder_test_context.h.

◆ next_scene_callback_

NextSceneCallback flutter::testing::EmbedderTestContext::next_scene_callback_
protected

Definition at line 142 of file embedder_test_context.h.

◆ platform_message_callback_

std::function<void(const FlutterPlatformMessage*)> flutter::testing::EmbedderTestContext::platform_message_callback_
protected

Definition at line 139 of file embedder_test_context.h.

◆ root_surface_transformation_

SkMatrix flutter::testing::EmbedderTestContext::root_surface_transformation_
protected

Definition at line 143 of file embedder_test_context.h.

◆ update_semantics_callback2_

SemanticsUpdateCallback2 flutter::testing::EmbedderTestContext::update_semantics_callback2_
protected

Definition at line 134 of file embedder_test_context.h.

◆ update_semantics_callback_

SemanticsUpdateCallback flutter::testing::EmbedderTestContext::update_semantics_callback_
protected

Definition at line 135 of file embedder_test_context.h.

◆ update_semantics_custom_action_callback_

SemanticsActionCallback flutter::testing::EmbedderTestContext::update_semantics_custom_action_callback_
protected

Definition at line 137 of file embedder_test_context.h.

◆ update_semantics_node_callback_

SemanticsNodeCallback flutter::testing::EmbedderTestContext::update_semantics_node_callback_
protected

Definition at line 136 of file embedder_test_context.h.

◆ vm_snapshot_data_

std::unique_ptr<fml::Mapping> flutter::testing::EmbedderTestContext::vm_snapshot_data_
protected

Definition at line 127 of file embedder_test_context.h.

◆ vm_snapshot_instructions_

std::unique_ptr<fml::Mapping> flutter::testing::EmbedderTestContext::vm_snapshot_instructions_
protected

Definition at line 128 of file embedder_test_context.h.

◆ vsync_callback_

std::function<void(intptr_t)> flutter::testing::EmbedderTestContext::vsync_callback_ = nullptr
protected

Definition at line 144 of file embedder_test_context.h.


The documentation for this class was generated from the following files: