#include <host_window_tooltip.h>
Public Member Functions | |
| HostWindowTooltip (WindowManager *window_manager, FlutterWindowsEngine *engine, const BoxConstraints &constraints, bool is_sized_to_content, GetWindowPositionCallback get_position_callback, HWND parent) | |
| void | UpdatePosition () |
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 () |
Protected Member Functions | |
| LRESULT | HandleMessage (HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam) override |
Protected Member Functions inherited from flutter::HostWindow | |
| void | InitializeFlutterView (HostWindowInitializationParams const ¶ms) |
| HostWindow (WindowManager *window_manager, FlutterWindowsEngine *engine) | |
| void | EnableRecursively (bool enable) |
| HostWindow * | FindFirstEnabledDescendant () const |
| std::vector< HostWindow * > | GetOwnedWindows () const |
| void | DisableRecursively () |
| FML_DISALLOW_COPY_AND_ASSIGN (HostWindow) | |
Additional Inherited Members | |
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) |
| static std::unique_ptr< HostWindow > | CreateDialogWindow (WindowManager *window_manager, FlutterWindowsEngine *engine, const WindowSizeRequest &preferred_size, const WindowConstraints &preferred_constraints, LPCWSTR title, HWND parent) |
| static std::unique_ptr< HostWindow > | CreateTooltipWindow (WindowManager *window_manager, FlutterWindowsEngine *engine, const WindowConstraints &preferred_constraints, bool is_sized_to_content, 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) |
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_ |
Definition at line 14 of file host_window_tooltip.h.
| flutter::HostWindowTooltip::HostWindowTooltip | ( | WindowManager * | window_manager, |
| FlutterWindowsEngine * | engine, | ||
| const BoxConstraints & | constraints, | ||
| bool | is_sized_to_content, | ||
| GetWindowPositionCallback | get_position_callback, | ||
| HWND | parent | ||
| ) |
Definition at line 11 of file host_window_tooltip.cc.
References flutter::HostWindow::HostWindowInitializationParams::archetype, flutter::Size::height(), flutter::HostWindow::InitializeFlutterView(), flutter::kTooltip, flutter::BoxConstraints::smallest(), flutter::Size::width(), and flutter::HostWindow::window_handle_.
|
overrideprotectedvirtual |
Reimplemented from flutter::HostWindow.
Definition at line 120 of file host_window_tooltip.cc.
References flutter::HostWindow::HandleMessage(), message, and TRUE.
| void flutter::HostWindowTooltip::UpdatePosition | ( | ) |
Definition at line 85 of file host_window_tooltip.cc.
References flutter::HostWindow::view_controller_, and flutter::HostWindow::window_handle_.
Referenced by InternalFlutterWindows_WindowManager_UpdateTooltipPosition().