#include "flutter/shell/platform/glfw/client_wrapper/testing/stub_flutter_glfw_api.h"
Go to the source code of this file.
|
bool | FlutterDesktopInit () |
|
void | FlutterDesktopTerminate () |
|
FlutterDesktopWindowControllerRef | FlutterDesktopCreateWindow (const FlutterDesktopWindowProperties &window_properties, const FlutterDesktopEngineProperties &engine_properties) |
|
void | FlutterDesktopDestroyWindow (FlutterDesktopWindowControllerRef controller) |
|
void | FlutterDesktopWindowSetHoverEnabled (FlutterDesktopWindowRef flutter_window, bool enabled) |
|
void | FlutterDesktopWindowSetTitle (FlutterDesktopWindowRef flutter_window, const char *title) |
|
void | FlutterDesktopWindowSetIcon (FlutterDesktopWindowRef flutter_window, uint8_t *pixel_data, int width, int height) |
|
void | FlutterDesktopWindowGetFrame (FlutterDesktopWindowRef flutter_window, int *x, int *y, int *width, int *height) |
|
void | FlutterDesktopWindowSetFrame (FlutterDesktopWindowRef flutter_window, int x, int y, int width, int height) |
|
void | FlutterDesktopWindowSetSizeLimits (FlutterDesktopWindowRef flutter_window, FlutterDesktopSize minimum_size, FlutterDesktopSize maximum_size) |
|
double | FlutterDesktopWindowGetScaleFactor (FlutterDesktopWindowRef flutter_window) |
|
void | FlutterDesktopWindowSetPixelRatioOverride (FlutterDesktopWindowRef flutter_window, double pixel_ratio) |
|
bool | FlutterDesktopRunWindowEventLoopWithTimeout (FlutterDesktopWindowControllerRef controller, uint32_t millisecond_timeout) |
|
FlutterDesktopEngineRef | FlutterDesktopRunEngine (const FlutterDesktopEngineProperties &properties) |
|
void | FlutterDesktopRunEngineEventLoopWithTimeout (FlutterDesktopEngineRef engine, uint32_t timeout_milliseconds) |
|
bool | FlutterDesktopShutDownEngine (FlutterDesktopEngineRef engine_ref) |
|
FlutterDesktopWindowRef | FlutterDesktopGetWindow (FlutterDesktopWindowControllerRef controller) |
|
FlutterDesktopEngineRef | FlutterDesktopGetEngine (FlutterDesktopWindowControllerRef controller) |
|
FlutterDesktopPluginRegistrarRef | FlutterDesktopGetPluginRegistrar (FlutterDesktopEngineRef engine, const char *plugin_name) |
|
FlutterDesktopWindowRef | FlutterDesktopPluginRegistrarGetWindow (FlutterDesktopPluginRegistrarRef registrar) |
|
void | FlutterDesktopPluginRegistrarEnableInputBlocking (FlutterDesktopPluginRegistrarRef registrar, const char *channel) |
|
◆ FlutterDesktopCreateWindow()
Definition at line 51 of file stub_flutter_glfw_api.cc.
53 {
56 engine_properties);
57 }
58 return nullptr;
59}
virtual FlutterDesktopWindowControllerRef CreateWindow(const FlutterDesktopWindowProperties &window_properties, const FlutterDesktopEngineProperties &engine_properties)
static flutter::testing::StubFlutterGlfwApi * s_stub_implementation
◆ FlutterDesktopDestroyWindow()
◆ FlutterDesktopGetEngine()
◆ FlutterDesktopGetPluginRegistrar()
◆ FlutterDesktopGetWindow()
◆ FlutterDesktopInit()
bool FlutterDesktopInit |
( |
| ) |
|
◆ FlutterDesktopPluginRegistrarEnableInputBlocking()
Definition at line 192 of file stub_flutter_glfw_api.cc.
194 {
197 }
198}
virtual void PluginRegistrarEnableInputBlocking(const char *channel)
◆ FlutterDesktopPluginRegistrarGetWindow()
◆ FlutterDesktopRunEngine()
Definition at line 144 of file stub_flutter_glfw_api.cc.
145 {
148 }
149 return nullptr;
150}
virtual FlutterDesktopEngineRef RunEngine(const FlutterDesktopEngineProperties &properties)
◆ FlutterDesktopRunEngineEventLoopWithTimeout()
Definition at line 152 of file stub_flutter_glfw_api.cc.
154 {
157 }
158}
virtual void RunEngineEventLoopWithTimeout(uint32_t millisecond_timeout)
◆ FlutterDesktopRunWindowEventLoopWithTimeout()
Definition at line 134 of file stub_flutter_glfw_api.cc.
136 {
139 millisecond_timeout);
140 }
141 return true;
142}
virtual bool RunWindowEventLoopWithTimeout(uint32_t millisecond_timeout)
◆ FlutterDesktopShutDownEngine()
◆ FlutterDesktopTerminate()
void FlutterDesktopTerminate |
( |
| ) |
|
◆ FlutterDesktopWindowGetFrame()
Definition at line 90 of file stub_flutter_glfw_api.cc.
94 {
97 }
98}
virtual void GetWindowFrame(int *x, int *y, int *width, int *height)
◆ FlutterDesktopWindowGetScaleFactor()
◆ FlutterDesktopWindowSetFrame()
Definition at line 100 of file stub_flutter_glfw_api.cc.
104 {
107 }
108}
virtual void SetWindowFrame(int x, int y, int width, int height)
◆ FlutterDesktopWindowSetHoverEnabled()
◆ FlutterDesktopWindowSetIcon()
Definition at line 81 of file stub_flutter_glfw_api.cc.
84 {
87 }
88}
virtual void SetWindowIcon(uint8_t *pixel_data, int width, int height)
◆ FlutterDesktopWindowSetPixelRatioOverride()
◆ FlutterDesktopWindowSetSizeLimits()
Definition at line 110 of file stub_flutter_glfw_api.cc.
112 {
115 }
116}
virtual void SetSizeLimits(FlutterDesktopSize minimum_size, FlutterDesktopSize maximum_size)
◆ FlutterDesktopWindowSetTitle()
◆ s_stub_implementation