Flutter Engine
flutter::testing::FlutterWindowWin32Test Class Reference

Test class for FlutterWindowWin32. More...

#include <flutter_window_win32_test.h>

Inheritance diagram for flutter::testing::FlutterWindowWin32Test:
flutter::FlutterWindowWin32 flutter::WindowWin32 flutter::WindowBindingHandler flutter::KeyboardManagerWin32::WindowDelegate

Public Member Functions

 FlutterWindowWin32Test (int width, int height)
 
virtual ~FlutterWindowWin32Test ()
 
 FlutterWindowWin32Test (FlutterWindowWin32Test const &)=delete
 
FlutterWindowWin32Testoperator= (FlutterWindowWin32Test const &)=delete
 
- Public Member Functions inherited from flutter::FlutterWindowWin32
 FlutterWindowWin32 (int width, int height)
 
virtual ~FlutterWindowWin32 ()
 
void OnDpiScale (unsigned int dpi) override
 
void OnResize (unsigned int width, unsigned int height) override
 
void OnPointerMove (double x, double y, FlutterPointerDeviceKind device_kind, int32_t device_id) override
 
void OnPointerDown (double x, double y, FlutterPointerDeviceKind device_kind, int32_t device_id, UINT button) override
 
void OnPointerUp (double x, double y, FlutterPointerDeviceKind device_kind, int32_t device_id, UINT button) override
 
void OnPointerLeave (double x, double y, FlutterPointerDeviceKind device_kind, int32_t device_id) override
 
void OnSetCursor () override
 
void OnText (const std::u16string &text) override
 
void OnKey (int key, int scancode, int action, char32_t character, bool extended, bool was_down, KeyEventCallback callback) override
 
void OnComposeBegin () override
 
void OnComposeCommit () override
 
void OnComposeEnd () override
 
void OnComposeChange (const std::u16string &text, int cursor_pos) override
 
void OnCursorRectUpdated (const Rect &rect) override
 
void OnResetImeComposing () override
 
void OnUpdateSemanticsEnabled (bool enabled) override
 
void OnScroll (double delta_x, double delta_y, FlutterPointerDeviceKind device_kind, int32_t device_id) override
 
gfx::NativeViewAccessible GetNativeViewAccessible () override
 
void SetView (WindowBindingHandlerDelegate *view) override
 
WindowsRenderTarget GetRenderTarget () override
 
PlatformWindow GetPlatformWindow () override
 
float GetDpiScale () override
 
bool IsVisible () override
 
PhysicalWindowBounds GetPhysicalWindowBounds () override
 
void UpdateFlutterCursor (const std::string &cursor_name) override
 
void OnWindowResized () override
 
bool OnBitmapSurfaceUpdated (const void *allocation, size_t row_bytes, size_t height) override
 
PointerLocation GetPrimaryPointerLocation () override
 
- Public Member Functions inherited from flutter::WindowWin32
 WindowWin32 ()
 
 WindowWin32 (std::unique_ptr< TextInputManagerWin32 > text_input_manager)
 
virtual ~WindowWin32 ()
 
void InitializeChild (const char *title, unsigned int width, unsigned int height)
 
HWND GetWindowHandle ()
 
virtual BOOL Win32PeekMessage (LPMSG lpMsg, UINT wMsgFilterMin, UINT wMsgFilterMax, UINT wRemoveMsg) override
 
virtual uint32_t Win32MapVkToChar (uint32_t virtual_key) override
 
virtual UINT Win32DispatchMessage (UINT Msg, WPARAM wParam, LPARAM lParam) override
 
- Public Member Functions inherited from flutter::KeyboardManagerWin32::WindowDelegate
virtual ~WindowDelegate ()=default
 
- Public Member Functions inherited from flutter::WindowBindingHandler
virtual ~WindowBindingHandler ()=default
 

Additional Inherited Members

- Public Types inherited from flutter::KeyboardManagerWin32::WindowDelegate
using KeyEventCallback = std::function< void(bool)>
 
- Protected Member Functions inherited from flutter::WindowWin32
std::wstring NarrowToWide (const char *source)
 
WNDCLASS RegisterWindowClass (std::wstring &title)
 
LRESULT HandleMessage (UINT const message, WPARAM const wparam, LPARAM const lparam) noexcept
 
LRESULT HandleDpiChange (HWND hWnd, WPARAM wParam, LPARAM lParam, bool top_level)
 
LRESULT OnGetObject (UINT const message, WPARAM const wparam, LPARAM const lparam)
 
virtual void OnImeSetContext (UINT const message, WPARAM const wparam, LPARAM const lparam)
 
virtual void OnImeStartComposition (UINT const message, WPARAM const wparam, LPARAM const lparam)
 
virtual void OnImeComposition (UINT const message, WPARAM const wparam, LPARAM const lparam)
 
virtual void OnImeEndComposition (UINT const message, WPARAM const wparam, LPARAM const lparam)
 
virtual void OnImeRequest (UINT const message, WPARAM const wparam, LPARAM const lparam)
 
virtual void AbortImeComposing ()
 
virtual void UpdateCursorRect (const Rect &rect)
 
UINT GetCurrentDPI ()
 
UINT GetCurrentWidth ()
 
UINT GetCurrentHeight ()
 
virtual LRESULT Win32DefWindowProc (HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam)
 
- Static Protected Member Functions inherited from flutter::WindowWin32
static LRESULT CALLBACK WndProc (HWND const window, UINT const message, WPARAM const wparam, LPARAM const lparam) noexcept
 
- Protected Attributes inherited from flutter::WindowWin32
std::unique_ptr< DirectManipulationOwnerdirect_manipulation_owner_
 

Detailed Description

Test class for FlutterWindowWin32.

Definition at line 14 of file flutter_window_win32_test.h.

Constructor & Destructor Documentation

◆ FlutterWindowWin32Test() [1/2]

flutter::testing::FlutterWindowWin32Test::FlutterWindowWin32Test ( int  width,
int  height 
)

Definition at line 10 of file flutter_window_win32_test.cc.

References ~FlutterWindowWin32Test().

FlutterWindowWin32(int width, int height)
int32_t width
int32_t height

◆ ~FlutterWindowWin32Test()

flutter::testing::FlutterWindowWin32Test::~FlutterWindowWin32Test ( )
virtualdefault

Referenced by FlutterWindowWin32Test().

◆ FlutterWindowWin32Test() [2/2]

flutter::testing::FlutterWindowWin32Test::FlutterWindowWin32Test ( FlutterWindowWin32Test const &  )
delete

Member Function Documentation

◆ operator=()

FlutterWindowWin32Test& flutter::testing::FlutterWindowWin32Test::operator= ( FlutterWindowWin32Test const &  )
delete

The documentation for this class was generated from the following files: