5#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_MOCK_WINDOW_BINDING_HANDLER_H_
6#define FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_MOCK_WINDOW_BINDING_HANDLER_H_
8#include "flutter/fml/macros.h"
9#include "flutter/shell/platform/windows/window_binding_handler.h"
10#include "flutter/third_party/accessibility/ax/platform/ax_platform_node_win.h"
11#include "gmock/gmock.h"
28 (
const std::string& cursor_name),
36 (
const void* allocation,
size_t row_bytes,
size_t height),
virtual void SetFlutterCursor(HCURSOR cursor)=0
virtual void OnResetImeComposing()=0
virtual PointerLocation GetPrimaryPointerLocation()=0
virtual HWND GetWindowHandle()=0
virtual bool OnBitmapSurfaceUpdated(const void *allocation, size_t row_bytes, size_t height)=0
virtual ui::AXPlatformNodeWin * GetAlert()=0
virtual void UpdateFlutterCursor(const std::string &cursor_name)=0
virtual bool OnBitmapSurfaceCleared()=0
virtual PhysicalWindowBounds GetPhysicalWindowBounds()=0
virtual float GetDpiScale()=0
virtual void SetView(WindowBindingHandlerDelegate *view)=0
virtual AlertPlatformNodeDelegate * GetAlertDelegate()=0
virtual void OnCursorRectUpdated(const Rect &rect)=0
Mock for the |Window| base class.
MOCK_METHOD(AlertPlatformNodeDelegate *, GetAlertDelegate,(),(override))
MOCK_METHOD(bool, OnBitmapSurfaceCleared,(),(override))
MOCK_METHOD(HWND, GetWindowHandle,(),(override))
MOCK_METHOD(float, GetDpiScale,(),(override))
MOCK_METHOD(void, SetFlutterCursor,(HCURSOR cursor_name),(override))
MOCK_METHOD(bool, OnBitmapSurfaceUpdated,(const void *allocation, size_t row_bytes, size_t height),(override))
virtual ~MockWindowBindingHandler()
MockWindowBindingHandler()
MOCK_METHOD(void, UpdateFlutterCursor,(const std::string &cursor_name),(override))
MOCK_METHOD(ui::AXPlatformNodeWin *, GetAlert,(),(override))
MOCK_METHOD(PhysicalWindowBounds, GetPhysicalWindowBounds,(),(override))
MOCK_METHOD(PointerLocation, GetPrimaryPointerLocation,(),(override))
MOCK_METHOD(void, OnCursorRectUpdated,(const Rect &rect),(override))
MOCK_METHOD(void, OnResetImeComposing,(),(override))
MOCK_METHOD(void, SetView,(WindowBindingHandlerDelegate *view),(override))
sk_sp< SkBlender > blender SkRect rect