Flutter Engine
The Flutter Engine
|
#include <platform_view_plugin.h>
Public Member Functions | |
PlatformViewPlugin (BinaryMessenger *messenger, TaskRunner *task_runner) | |
~PlatformViewPlugin () | |
std::optional< HWND > | GetNativeHandleForId (PlatformViewId id) const |
void | RegisterPlatformViewType (std::string_view type_name, const FlutterPlatformViewTypeEntry &type) |
bool | AddPlatformView (PlatformViewId id, std::string_view type_name) override |
void | InstantiatePlatformView (PlatformViewId id) |
bool | FocusPlatformView (PlatformViewId id, FocusChangeDirection direction, bool focus) override |
Public Member Functions inherited from flutter::PlatformViewManager | |
PlatformViewManager (BinaryMessenger *binary_messenger) | |
virtual | ~PlatformViewManager () |
virtual bool | AddPlatformView (PlatformViewId id, std::string_view type_name)=0 |
virtual bool | FocusPlatformView (PlatformViewId id, FocusChangeDirection direction, bool focus)=0 |
Definition at line 18 of file platform_view_plugin.h.
flutter::PlatformViewPlugin::PlatformViewPlugin | ( | BinaryMessenger * | messenger, |
TaskRunner * | task_runner | ||
) |
Definition at line 9 of file platform_view_plugin.cc.
flutter::PlatformViewPlugin::~PlatformViewPlugin | ( | ) |
Definition at line 13 of file platform_view_plugin.cc.
|
overridevirtual |
Implements flutter::PlatformViewManager.
Definition at line 34 of file platform_view_plugin.cc.
|
overridevirtual |
Implements flutter::PlatformViewManager.
Definition at line 41 of file platform_view_plugin.cc.
std::optional< HWND > flutter::PlatformViewPlugin::GetNativeHandleForId | ( | PlatformViewId | id | ) | const |
Definition at line 17 of file platform_view_plugin.cc.
void flutter::PlatformViewPlugin::InstantiatePlatformView | ( | PlatformViewId | id | ) |
Definition at line 30 of file platform_view_plugin.cc.
void flutter::PlatformViewPlugin::RegisterPlatformViewType | ( | std::string_view | type_name, |
const FlutterPlatformViewTypeEntry & | type | ||
) |
Definition at line 24 of file platform_view_plugin.cc.