5 #ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_HOST_WINDOW_H_
6 #define FLUTTER_SHELL_PLATFORM_WINDOWS_HOST_WINDOW_H_
12 #include "flutter/fml/macros.h"
20 class FlutterWindowsView;
21 class FlutterWindowsViewController;
56 std::unique_ptr<FlutterWindowsViewController> view_controller,
67 static LRESULT WndProc(HWND hwnd, UINT
message, WPARAM wparam, LPARAM lparam);
72 LRESULT HandleMessage(HWND hwnd, UINT
message, WPARAM wparam, LPARAM lparam);
83 std::unique_ptr<FlutterWindowsViewController> view_controller_;
89 HWND window_handle_ =
nullptr;
HWND GetWindowHandle() const
void SetContentSize(const WindowSizing &size)
static std::unique_ptr< HostWindow > CreateRegularWindow(WindowManager *controller, FlutterWindowsEngine *engine, const WindowSizing &content_size)
static HostWindow * GetThisFromHandle(HWND hwnd)