Flutter Engine
flutter::testing::Win32FlutterWindowTest Class Reference

Test class for Win32FlutterWindow. More...

#include <win32_flutter_window_test.h>

Inheritance diagram for flutter::testing::Win32FlutterWindowTest:
flutter::Win32FlutterWindow flutter::Win32Window flutter::WindowBindingHandler

Public Member Functions

 Win32FlutterWindowTest (int width, int height)
 
virtual ~Win32FlutterWindowTest ()
 
 Win32FlutterWindowTest (Win32FlutterWindowTest const &)=delete
 
Win32FlutterWindowTestoperator= (Win32FlutterWindowTest const &)=delete
 
- Public Member Functions inherited from flutter::Win32FlutterWindow
 Win32FlutterWindow (int width, int height)
 
virtual ~Win32FlutterWindow ()
 
void OnDpiScale (unsigned int dpi) override
 
void OnResize (unsigned int width, unsigned int height) override
 
void OnPointerMove (double x, double y) override
 
void OnPointerDown (double x, double y, UINT button) override
 
void OnPointerUp (double x, double y, UINT button) override
 
void OnPointerLeave () override
 
void OnSetCursor () override
 
void OnText (const std::u16string &text) override
 
void OnKey (int key, int scancode, int action, char32_t character) override
 
void OnScroll (double delta_x, double delta_y) override
 
void SetView (WindowBindingHandlerDelegate *view) override
 
WindowsRenderTarget GetRenderTarget () override
 
float GetDpiScale () override
 
PhysicalWindowBounds GetPhysicalWindowBounds () override
 
void UpdateFlutterCursor (const std::string &cursor_name) override
 
- Public Member Functions inherited from flutter::Win32Window
 Win32Window ()
 
virtual ~Win32Window ()
 
void InitializeChild (const char *title, unsigned int width, unsigned int height)
 
HWND GetWindowHandle ()
 
- Public Member Functions inherited from flutter::WindowBindingHandler
virtual ~WindowBindingHandler ()=default
 

Additional Inherited Members

- Protected Member Functions inherited from flutter::Win32Window
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)
 
virtual void OnDpiScale (UINT dpi)=0
 
virtual void OnResize (UINT width, UINT height)=0
 
UINT GetCurrentDPI ()
 
UINT GetCurrentWidth ()
 
UINT GetCurrentHeight ()
 
- Static Protected Member Functions inherited from flutter::Win32Window
static LRESULT CALLBACK WndProc (HWND const window, UINT const message, WPARAM const wparam, LPARAM const lparam) noexcept
 

Detailed Description

Test class for Win32FlutterWindow.

Definition at line 13 of file win32_flutter_window_test.h.

Constructor & Destructor Documentation

◆ Win32FlutterWindowTest() [1/2]

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

Definition at line 10 of file win32_flutter_window_test.cc.

References ~Win32FlutterWindowTest().

int32_t height
int32_t width
Win32FlutterWindow(int width, int height)

◆ ~Win32FlutterWindowTest()

flutter::testing::Win32FlutterWindowTest::~Win32FlutterWindowTest ( )
virtualdefault

Referenced by Win32FlutterWindowTest().

◆ Win32FlutterWindowTest() [2/2]

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

Member Function Documentation

◆ operator=()

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

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