#include <host_window_sized.h>
Protected Member Functions | |
| HostWindowSized (WindowManager *window_manager, FlutterWindowsEngine *engine, bool resizable) | |
| ~HostWindowSized () override=0 | |
| FlutterWindowsViewSizingDelegate * | AsSizingDelegate () |
| virtual void | ApplyContentSize (int32_t physical_width, int32_t physical_height) |
Protected Member Functions inherited from flutter::HostWindow | |
| void | InitializeFlutterView (HostWindowInitializationParams const ¶ms) |
| HostWindow (WindowManager *window_manager, FlutterWindowsEngine *engine) | |
| virtual LRESULT | HandleMessage (HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam) |
| void | HandleWindowActivation (HWND hwnd, WPARAM wparam) |
| void | EnableRecursively (bool enable) |
| HostWindow * | FindFirstEnabledDescendant () const |
| WindowArchetype | GetArchetype () const |
| std::vector< HostWindow * > | GetOwnedWindows () const |
| void | DisableRecursively () |
| FML_DISALLOW_COPY_AND_ASSIGN (HostWindow) | |
Protected Attributes | |
| const bool | resizable_ |
| std::shared_ptr< int > | view_alive_ |
| int | physical_width_ = 0 |
| int | physical_height_ = 0 |
Protected Attributes inherited from flutter::HostWindow | |
| friend | WindowManager |
| WindowManager *const | window_manager_ = nullptr |
| FlutterWindowsEngine * | engine_ |
| std::unique_ptr< FlutterWindowsViewController > | view_controller_ |
| WindowArchetype | archetype_ = WindowArchetype::kRegular |
| HWND | window_handle_ |
| BoxConstraints | box_constraints_ |
| bool | is_being_destroyed_ = false |
| bool | is_fullscreen_ = false |
| SavedWindowInfo | saved_window_info_ |
| Microsoft::WRL::ComPtr< ITaskbarList2 > | task_bar_list_ |
Additional Inherited Members | |
Public Member Functions inherited from flutter::HostWindow | |
| virtual | ~HostWindow () |
| HWND | GetWindowHandle () const |
| HWND | GetFlutterViewWindowHandle () const |
| void | SetContentSize (const WindowSizeRequest &size) |
| void | SetConstraints (const WindowConstraints &constraints) |
| virtual void | SetFullscreen (bool fullscreen, std::optional< FlutterEngineDisplayId > display_id) |
| virtual bool | GetFullscreen () const |
| HostWindow * | GetOwnerWindow () const |
| void | UpdateModalStateLayer () |
Static Public Member Functions inherited from flutter::HostWindow | |
| static std::unique_ptr< HostWindow > | CreateRegularWindow (WindowManager *window_manager, FlutterWindowsEngine *engine, const WindowSizeRequest &preferred_size, const WindowConstraints &preferred_constraints, LPCWSTR title, bool sized_to_content, bool resizable) |
| static std::unique_ptr< HostWindow > | CreateDialogWindow (WindowManager *window_manager, FlutterWindowsEngine *engine, const WindowSizeRequest &preferred_size, const WindowConstraints &preferred_constraints, LPCWSTR title, HWND parent, bool sized_to_content, bool resizable) |
| static std::unique_ptr< HostWindow > | CreateTooltipWindow (WindowManager *window_manager, FlutterWindowsEngine *engine, const WindowConstraints &preferred_constraints, GetWindowPositionCallback get_position_callback, HWND parent) |
| static std::unique_ptr< HostWindow > | CreatePopupWindow (WindowManager *window_manager, FlutterWindowsEngine *engine, const WindowConstraints &preferred_constraints, GetWindowPositionCallback get_position_callback, HWND parent) |
| static HostWindow * | GetThisFromHandle (HWND hwnd) |
| static ActualWindowSize | GetWindowContentSize (HWND hwnd) |
Static Protected Member Functions inherited from flutter::HostWindow | |
| static std::optional< Size > | GetWindowSizeForClientSize (WindowsProcTable const &win32, Size const &client_size, std::optional< Size > smallest, std::optional< Size > biggest, DWORD window_style, DWORD extended_window_style, std::optional< HWND > const &owner_hwnd) |
| static void | FocusRootViewOf (HostWindow *window) |
| static LRESULT | WndProc (HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam) |
Definition at line 25 of file host_window_sized.h.
|
protected |
Definition at line 13 of file host_window_sized.cc.
|
overrideprotectedpure virtual |
Definition at line 20 of file host_window_sized.cc.
References FML_DCHECK, and flutter::HostWindow::view_controller_.
|
protectedvirtual |
Reimplemented in flutter::HostWindowPopup, and flutter::HostWindowTooltip.
Definition at line 52 of file host_window_sized.cc.
References flutter::BoxConstraints::biggest(), flutter::HostWindow::box_constraints_, flutter::HostWindow::engine_, flutter::GetDpiForHWND(), flutter::HostWindow::GetWindowSizeForClientSize(), resizable_, flutter::BoxConstraints::smallest(), flutter::HostWindow::view_controller_, flutter::HostWindow::window_handle_, and flutter::FlutterWindowsEngine::windows_proc_table().
|
inlineprotected |
Definition at line 59 of file host_window_sized.h.
Referenced by flutter::HostWindowDialog::HostWindowDialog(), flutter::HostWindowPopup::HostWindowPopup(), flutter::HostWindowRegular::HostWindowRegular(), and flutter::HostWindowTooltip::HostWindowTooltip().
|
protected |
Definition at line 78 of file host_window_sized.h.
Referenced by flutter::HostWindowPopup::UpdatePosition(), and flutter::HostWindowTooltip::UpdatePosition().
|
protected |
Definition at line 77 of file host_window_sized.h.
Referenced by flutter::HostWindowPopup::UpdatePosition(), and flutter::HostWindowTooltip::UpdatePosition().
|
protected |
Definition at line 70 of file host_window_sized.h.
Referenced by ApplyContentSize().
|
protected |
Definition at line 74 of file host_window_sized.h.