5#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_FLUTTER_WINDOWS_ENGINE_BUILDER_H_
6#define FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_FLUTTER_WINDOWS_ENGINE_BUILDER_H_
10#include "flutter/fml/macros.h"
11#include "flutter/shell/platform/windows/flutter_windows_engine.h"
12#include "flutter/shell/platform/windows/keyboard_key_embedder_handler.h"
13#include "flutter/shell/platform/windows/public/flutter_windows.h"
14#include "flutter/shell/platform/windows/testing/windows_test_context.h"
32 void SetSwitches(std::vector<std::string> switches);
35 std::shared_ptr<WindowsProcTable> windows_proc_table);
37 std::unique_ptr<FlutterWindowsEngine>
Build();
42 std::string dart_entrypoint_;
43 std::vector<std::string> dart_entrypoint_arguments_;
44 std::vector<std::string> switches_;
47 std::shared_ptr<WindowsProcTable> windows_proc_table_;
std::function< SHORT(UINT, bool)> MapVirtualKeyToScanCode
std::function< SHORT(int)> GetKeyStateHandler
void SetCreateKeyboardHandlerCallbacks(KeyboardKeyEmbedderHandler::GetKeyStateHandler get_key_state, KeyboardKeyEmbedderHandler::MapVirtualKeyToScanCode map_vk_to_scan)
void SetDartEntrypoint(std::string entrypoint)
void AddDartEntrypointArgument(std::string arg)
FlutterWindowsEngineBuilder(WindowsTestContext &context)
~FlutterWindowsEngineBuilder()
std::unique_ptr< FlutterWindowsEngine > Build()
void SetSwitches(std::vector< std::string > switches)
void SetWindowsProcTable(std::shared_ptr< WindowsProcTable > windows_proc_table)