Flutter Engine
The Flutter Engine
Classes | Typedefs | Functions
flutter_windows_internal.h File Reference
#include "flutter/shell/platform/windows/public/flutter_windows.h"

Go to the source code of this file.

Classes

struct  FlutterDesktopViewControllerProperties
 
struct  FlutterPlatformViewCreationParameters
 
struct  FlutterPlatformViewTypeEntry
 

Typedefs

typedef int64_t PlatformViewId
 
typedef HWND(* FlutterPlatformViewFactory) (const FlutterPlatformViewCreationParameters *)
 

Functions

FLUTTER_EXPORT FlutterDesktopViewControllerRef FlutterDesktopEngineCreateViewController (FlutterDesktopEngineRef engine, const FlutterDesktopViewControllerProperties *properties)
 
FLUTTER_EXPORT void FlutterDesktopEngineRegisterPlatformViewType (FlutterDesktopEngineRef engine, const char *view_type_name, FlutterPlatformViewTypeEntry view_type)
 

Typedef Documentation

◆ FlutterPlatformViewFactory

Definition at line 54 of file flutter_windows_internal.h.

◆ PlatformViewId

typedef int64_t PlatformViewId

Definition at line 42 of file flutter_windows_internal.h.

Function Documentation

◆ FlutterDesktopEngineCreateViewController()

FLUTTER_EXPORT FlutterDesktopViewControllerRef FlutterDesktopEngineCreateViewController ( FlutterDesktopEngineRef  engine,
const FlutterDesktopViewControllerProperties properties 
)

Definition at line 128 of file flutter_windows.cc.

130 {
131 return CreateViewController(engine, properties->width, properties->height,
132 /*owns_engine=*/false);
133}
FlutterEngine engine
Definition: main.cc:68
static FlutterDesktopViewControllerRef CreateViewController(FlutterDesktopEngineRef engine_ref, int width, int height, bool owns_engine)

◆ FlutterDesktopEngineRegisterPlatformViewType()

FLUTTER_EXPORT void FlutterDesktopEngineRegisterPlatformViewType ( FlutterDesktopEngineRef  engine,
const char *  view_type_name,
FlutterPlatformViewTypeEntry  view_type 
)

Definition at line 185 of file stub_flutter_windows_api.cc.

188 {
191 view_type);
192 }
193}
virtual void EngineRegisterPlatformViewType(const char *view_type_name, FlutterPlatformViewTypeEntry view_type)
static flutter::testing::StubFlutterWindowsApi * s_stub_implementation