5#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_ENGINE_MODIFIER_H_
6#define FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_ENGINE_MODIFIER_H_
8#include "flutter/shell/platform/windows/flutter_windows_engine.h"
12#include "flutter/fml/macros.h"
37 engine_->egl_manager_ = std::move(egl_manager);
48 engine_->start_time_ = std::chrono::nanoseconds(start_time_nanos);
56 engine_->frame_interval_override_ =
57 std::optional<std::chrono::nanoseconds>(frame_interval_nanos);
78 engine_->lifecycle_manager_ = std::move(handler);
82 engine_->platform_view_plugin_ = std::move(
manager);
void SetLifecycleManager(std::unique_ptr< WindowsLifecycleManager > &&handler)
void SetFrameInterval(uint64_t frame_interval_nanos)
EngineModifier(FlutterWindowsEngine *engine)
void SetEGLManager(std::unique_ptr< egl::Manager > egl_manager)
void SetStartTime(uint64_t start_time_nanos)
Reset the start_time field that is used to align vsync events.
FlutterEngineProcTable & embedder_api()
void SetPlatformViewPlugin(std::unique_ptr< PlatformViewPlugin > &&manager)
void InitializeKeyboard()
void SetImplicitView(FlutterWindowsView *view)
void OnPreEngineRestart()
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font manager
constexpr FlutterViewId kImplicitViewId
Function-pointer-based versions of the APIs above.