Flutter Engine
 
Loading...
Searching...
No Matches
FlutterRemoveViewInfo Struct Reference

#include <embedder.h>

Public Attributes

size_t struct_size
 
FlutterViewId view_id
 
void * user_data
 
FlutterRemoveViewCallback remove_view_callback
 

Detailed Description

Definition at line 1140 of file embedder.h.

Member Data Documentation

◆ remove_view_callback

FlutterRemoveViewCallback FlutterRemoveViewInfo::remove_view_callback

Called once the engine has attempted to remove the view. This callback is required.

The embedder must not destroy the underlying surface until the callback is invoked with a removed value of true.

This callback is invoked on an internal engine managed thread. Embedders must re-thread if necessary.

The |result| argument will be deallocated when the callback returns.

Definition at line 1165 of file embedder.h.

Referenced by fl_engine_remove_view(), FlutterEngineRemoveView(), flutter::FlutterWindowsEngine::RemoveView(), TEST(), TEST(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), and flutter::testing::TEST_F().

◆ struct_size

◆ user_data

void* FlutterRemoveViewInfo::user_data

A baton that is not interpreted by the engine in any way. It will be given back to the embedder in |remove_view_callback|. Embedder resources may be associated with this baton.

Definition at line 1153 of file embedder.h.

Referenced by fl_engine_remove_view(), FlutterEngineRemoveView(), flutter::FlutterWindowsEngine::RemoveView(), TEST(), TEST(), flutter::testing::TEST_F(), flutter::testing::TEST_F(), and flutter::testing::TEST_F().

◆ view_id


The documentation for this struct was generated from the following file: