Flutter Engine
The Flutter Engine
|
Mock for the |Window| base class. More...
#include <mock_window_binding_handler.h>
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 AlertPlatformNodeDelegate * | GetAlertDelegate ()=0 |
virtual ui::AXPlatformNodeWin * | GetAlert ()=0 |
Mock for the |Window| base class.
Definition at line 17 of file mock_window_binding_handler.h.
flutter::testing::MockWindowBindingHandler::MockWindowBindingHandler | ( | ) |
Definition at line 10 of file mock_window_binding_handler.cc.
|
virtualdefault |
flutter::testing::MockWindowBindingHandler::MOCK_METHOD | ( | AlertPlatformNodeDelegate * | , |
GetAlertDelegate | , | ||
() | , | ||
(override) | |||
) |
flutter::testing::MockWindowBindingHandler::MOCK_METHOD | ( | bool | , |
OnBitmapSurfaceCleared | , | ||
() | , | ||
(override) | |||
) |
flutter::testing::MockWindowBindingHandler::MOCK_METHOD | ( | bool | , |
OnBitmapSurfaceUpdated | , | ||
(const void *allocation, size_t row_bytes, size_t height) | , | ||
(override) | |||
) |
flutter::testing::MockWindowBindingHandler::MOCK_METHOD | ( | float | , |
GetDpiScale | , | ||
() | , | ||
(override) | |||
) |
flutter::testing::MockWindowBindingHandler::MOCK_METHOD | ( | HWND | , |
GetWindowHandle | , | ||
() | , | ||
(override) | |||
) |
flutter::testing::MockWindowBindingHandler::MOCK_METHOD | ( | PhysicalWindowBounds | , |
GetPhysicalWindowBounds | , | ||
() | , | ||
(override) | |||
) |
flutter::testing::MockWindowBindingHandler::MOCK_METHOD | ( | PointerLocation | , |
GetPrimaryPointerLocation | , | ||
() | , | ||
(override) | |||
) |
flutter::testing::MockWindowBindingHandler::MOCK_METHOD | ( | ui::AXPlatformNodeWin * | , |
GetAlert | , | ||
() | , | ||
(override) | |||
) |
flutter::testing::MockWindowBindingHandler::MOCK_METHOD | ( | void | , |
OnCursorRectUpdated | , | ||
(const Rect &rect) | , | ||
(override) | |||
) |
flutter::testing::MockWindowBindingHandler::MOCK_METHOD | ( | void | , |
OnResetImeComposing | , | ||
() | , | ||
(override) | |||
) |
flutter::testing::MockWindowBindingHandler::MOCK_METHOD | ( | void | , |
SetFlutterCursor | , | ||
(HCURSOR cursor_name) | , | ||
(override) | |||
) |
flutter::testing::MockWindowBindingHandler::MOCK_METHOD | ( | void | , |
SetView | , | ||
(WindowBindingHandlerDelegate *view) | , | ||
(override) | |||
) |
flutter::testing::MockWindowBindingHandler::MOCK_METHOD | ( | void | , |
UpdateFlutterCursor | , | ||
(const std::string &cursor_name) | , | ||
(override) | |||
) |