#include "flutter_inappwebview_windows_plugin.h" #include #include "cookie_manager.h" #include "headless_in_app_webview/headless_in_app_webview_manager.h" #include "in_app_browser/in_app_browser_manager.h" #include "in_app_webview/in_app_webview_manager.h" #include "webview_environment/webview_environment_manager.h" #pragma comment(lib, "Shlwapi.lib") #pragma comment(lib, "dxgi.lib") #pragma comment(lib, "d3d11.lib") namespace flutter_inappwebview_plugin { // static void FlutterInappwebviewWindowsPlugin::RegisterWithRegistrar( flutter::PluginRegistrarWindows* registrar) { auto plugin = std::make_unique(registrar); registrar->AddPlugin(std::move(plugin)); } FlutterInappwebviewWindowsPlugin::FlutterInappwebviewWindowsPlugin(flutter::PluginRegistrarWindows* registrar) : registrar(registrar) { webViewEnvironmentManager = std::make_unique(this); inAppWebViewManager = std::make_unique(this); inAppBrowserManager = std::make_unique(this); headlessInAppWebViewManager = std::make_unique(this); cookieManager = std::make_unique(this); } FlutterInappwebviewWindowsPlugin::~FlutterInappwebviewWindowsPlugin() {} }