Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
flutter::testing::MockWindowBindingHandler Class Reference

Mock for the |Window| base class. More...

#include <mock_window_binding_handler.h>

Inheritance diagram for flutter::testing::MockWindowBindingHandler:
flutter::WindowBindingHandler

Public Member Functions

 MockWindowBindingHandler ()
 
virtual ~MockWindowBindingHandler ()
 
 MOCK_METHOD (void, SetView,(WindowBindingHandlerDelegate *view),(override))
 
 MOCK_METHOD (HWND, GetWindowHandle,(),(override))
 
 MOCK_METHOD (float, GetDpiScale,(),(override))
 
 MOCK_METHOD (PhysicalWindowBounds, GetPhysicalWindowBounds,(),(override))
 
 MOCK_METHOD (void, UpdateFlutterCursor,(const std::string &cursor_name),(override))
 
 MOCK_METHOD (void, SetFlutterCursor,(HCURSOR cursor_name),(override))
 
 MOCK_METHOD (void, OnCursorRectUpdated,(const Rect &rect),(override))
 
 MOCK_METHOD (void, OnResetImeComposing,(),(override))
 
 MOCK_METHOD (bool, OnBitmapSurfaceCleared,(),(override))
 
 MOCK_METHOD (bool, OnBitmapSurfaceUpdated,(const void *allocation, size_t row_bytes, size_t height),(override))
 
 MOCK_METHOD (PointerLocation, GetPrimaryPointerLocation,(),(override))
 
 MOCK_METHOD (AlertPlatformNodeDelegate *, GetAlertDelegate,(),(override))
 
 MOCK_METHOD (ui::AXPlatformNodeWin *, GetAlert,(),(override))
 
- Public Member Functions inherited from flutter::WindowBindingHandler
virtual ~WindowBindingHandler ()=default
 
virtual void SetView (WindowBindingHandlerDelegate *view)=0
 
virtual HWND GetWindowHandle ()=0
 
virtual float GetDpiScale ()=0
 
virtual PhysicalWindowBounds GetPhysicalWindowBounds ()=0
 
virtual void UpdateFlutterCursor (const std::string &cursor_name)=0
 
virtual void SetFlutterCursor (HCURSOR cursor)=0
 
virtual void OnCursorRectUpdated (const Rect &rect)=0
 
virtual bool OnBitmapSurfaceCleared ()=0
 
virtual bool OnBitmapSurfaceUpdated (const void *allocation, size_t row_bytes, size_t height)=0
 
virtual void OnResetImeComposing ()=0
 
virtual PointerLocation GetPrimaryPointerLocation ()=0
 
virtual AlertPlatformNodeDelegateGetAlertDelegate ()=0
 
virtual ui::AXPlatformNodeWin * GetAlert ()=0
 

Detailed Description

Mock for the |Window| base class.

Definition at line 17 of file mock_window_binding_handler.h.

Constructor & Destructor Documentation

◆ MockWindowBindingHandler()

flutter::testing::MockWindowBindingHandler::MockWindowBindingHandler ( )

Definition at line 10 of file mock_window_binding_handler.cc.

10: WindowBindingHandler(){};

◆ ~MockWindowBindingHandler()

flutter::testing::MockWindowBindingHandler::~MockWindowBindingHandler ( )
virtualdefault

Member Function Documentation

◆ MOCK_METHOD() [1/13]

flutter::testing::MockWindowBindingHandler::MOCK_METHOD ( AlertPlatformNodeDelegate ,
GetAlertDelegate  ,
()  ,
(override)   
)

◆ MOCK_METHOD() [2/13]

flutter::testing::MockWindowBindingHandler::MOCK_METHOD ( bool  ,
OnBitmapSurfaceCleared  ,
()  ,
(override)   
)

◆ MOCK_METHOD() [3/13]

flutter::testing::MockWindowBindingHandler::MOCK_METHOD ( bool  ,
OnBitmapSurfaceUpdated  ,
(const void *allocation, size_t row_bytes, size_t height ,
(override)   
)

◆ MOCK_METHOD() [4/13]

flutter::testing::MockWindowBindingHandler::MOCK_METHOD ( float  ,
GetDpiScale  ,
()  ,
(override)   
)

◆ MOCK_METHOD() [5/13]

flutter::testing::MockWindowBindingHandler::MOCK_METHOD ( HWND  ,
GetWindowHandle  ,
()  ,
(override)   
)

◆ MOCK_METHOD() [6/13]

flutter::testing::MockWindowBindingHandler::MOCK_METHOD ( PhysicalWindowBounds  ,
GetPhysicalWindowBounds  ,
()  ,
(override)   
)

◆ MOCK_METHOD() [7/13]

flutter::testing::MockWindowBindingHandler::MOCK_METHOD ( PointerLocation  ,
GetPrimaryPointerLocation  ,
()  ,
(override)   
)

◆ MOCK_METHOD() [8/13]

flutter::testing::MockWindowBindingHandler::MOCK_METHOD ( ui::AXPlatformNodeWin *  ,
GetAlert  ,
()  ,
(override)   
)

◆ MOCK_METHOD() [9/13]

flutter::testing::MockWindowBindingHandler::MOCK_METHOD ( void  ,
OnCursorRectUpdated  ,
(const Rect &rect)  ,
(override)   
)

◆ MOCK_METHOD() [10/13]

flutter::testing::MockWindowBindingHandler::MOCK_METHOD ( void  ,
OnResetImeComposing  ,
()  ,
(override)   
)

◆ MOCK_METHOD() [11/13]

flutter::testing::MockWindowBindingHandler::MOCK_METHOD ( void  ,
SetFlutterCursor  ,
(HCURSOR cursor_name)  ,
(override)   
)

◆ MOCK_METHOD() [12/13]

flutter::testing::MockWindowBindingHandler::MOCK_METHOD ( void  ,
SetView  ,
(WindowBindingHandlerDelegate *view)  ,
(override)   
)

◆ MOCK_METHOD() [13/13]

flutter::testing::MockWindowBindingHandler::MOCK_METHOD ( void  ,
UpdateFlutterCursor  ,
(const std::string &cursor_name)  ,
(override)   
)

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