5 #ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_MOCK_WINDOW_BINDING_HANDLER_H_ 6 #define FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_MOCK_WINDOW_BINDING_HANDLER_H_ 10 #include "flutter/shell/platform/windows/window_binding_handler.h" 11 #include "gmock/gmock.h" 37 bool(
const void* allocation,
size_t row_bytes,
size_t height));
44 #endif // FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_MOCK_WINDOW_BINDING_HANDLER_H_ virtual void SetView(WindowBindingHandlerDelegate *view)=0
MOCK_METHOD1(SetView, void(WindowBindingHandlerDelegate *view))
virtual void OnCursorRectUpdated(const Rect &rect)=0
virtual WindowsRenderTarget GetRenderTarget()=0
virtual void OnWindowResized()=0
virtual bool IsVisible()=0
std::variant< HWND > WindowsRenderTarget
virtual void UpdateFlutterCursor(const std::string &cursor_name)=0
MOCK_METHOD0(GetRenderTarget, WindowsRenderTarget())
virtual PlatformWindow GetPlatformWindow()=0
virtual bool OnBitmapSurfaceUpdated(const void *allocation, size_t row_bytes, size_t height)=0
virtual ~MockWindowBindingHandler()
virtual void OnResetImeComposing()=0
MockWindowBindingHandler()
virtual PointerLocation GetPrimaryPointerLocation()=0
Mock for the |WindowWin32| base class.
virtual PhysicalWindowBounds GetPhysicalWindowBounds()=0
MockWindowBindingHandler & operator=(MockWindowBindingHandler const &)=delete
MOCK_METHOD3(OnBitmapSurfaceUpdated, bool(const void *allocation, size_t row_bytes, size_t height))
virtual float GetDpiScale()=0