Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | List of all members
flutter::MockPlatformViewManager Class Reference

#include <mock_platform_view_manager.h>

Inheritance diagram for flutter::MockPlatformViewManager:
flutter::PlatformViewPlugin flutter::PlatformViewManager

Public Member Functions

 MockPlatformViewManager (FlutterWindowsEngine *engine)
 
 ~MockPlatformViewManager ()
 
 MOCK_METHOD (bool, AddPlatformView,(PlatformViewId id, std::string_view))
 
- Public Member Functions inherited from flutter::PlatformViewPlugin
 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 ()
 

Detailed Description

Definition at line 15 of file mock_platform_view_manager.h.

Constructor & Destructor Documentation

◆ MockPlatformViewManager()

flutter::MockPlatformViewManager::MockPlatformViewManager ( FlutterWindowsEngine engine)
inline

Definition at line 17 of file mock_platform_view_manager.h.

18 : PlatformViewPlugin(engine->messenger_wrapper(), engine->task_runner()) {
19 }
PlatformViewPlugin(BinaryMessenger *messenger, TaskRunner *task_runner)
FlutterEngine engine
Definition main.cc:68

◆ ~MockPlatformViewManager()

flutter::MockPlatformViewManager::~MockPlatformViewManager ( )
inline

Definition at line 21 of file mock_platform_view_manager.h.

21{}

Member Function Documentation

◆ MOCK_METHOD()

flutter::MockPlatformViewManager::MOCK_METHOD ( bool  ,
AddPlatformView  ,
(PlatformViewId id, std::string_view)   
)

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