| Flutter Windows Embedder |

Public Member Functions | List of all members
flutter::testing::MockFlutterWindowsView Class Reference
Inheritance diagram for flutter::testing::MockFlutterWindowsView:

## Public Member Functions
| MockFlutterWindowsView (std::unique_ptr< WindowBindingHandler > wbh)
| ~MockFlutterWindowsView ()
| MOCK_METHOD (void, NotifyWinEventWrapper,(ui::AXPlatformNodeWin *, ax::mojom::Event),(override))
| MOCK_METHOD (HWND, GetWindowHandle,(),(const, override))
Public Member Functions inherited from flutter::FlutterWindowsView
| FlutterWindowsView (std::unique_ptr< WindowBindingHandler > window_binding, std::shared_ptr< WindowsProcTable > windows_proc_table=nullptr)
virtual | ~FlutterWindowsView ()
void | SetEngine (FlutterWindowsEngine *engine)
void | CreateRenderSurface ()
void | DestroyRenderSurface ()
virtual HWND | GetWindowHandle () const
FlutterWindowsEngine * | GetEngine ()
void | ForceRedraw ()
bool | SwapBuffers ()
bool | PresentSoftwareBitmap (const void *allocation, size_t row_bytes, size_t height)
void | SendInitialBounds ()
void | AnnounceAlert (const std::wstring &text)
void | OnHighContrastChanged () override
uint32_t | GetFrameBufferId (size_t width, size_t height)
void | UpdateFlutterCursor (const std::string &cursor_name)
void | SetFlutterCursor (HCURSOR cursor)
void | OnWindowSizeChanged (size_t width, size_t height) override
void | OnWindowRepaint () override
void | OnPointerMove (double x, double y, FlutterPointerDeviceKind device_kind, int32_t device_id, int modifiers_state) override
void | OnPointerDown (double x, double y, FlutterPointerDeviceKind device_kind, int32_t device_id, FlutterPointerMouseButtons button) override
void | OnPointerUp (double x, double y, FlutterPointerDeviceKind device_kind, int32_t device_id, FlutterPointerMouseButtons button) override
void | OnPointerLeave (double x, double y, FlutterPointerDeviceKind device_kind, int32_t device_id=0) override
virtual void | OnPointerPanZoomStart (int32_t device_id) override
virtual void | OnPointerPanZoomUpdate (int32_t device_id, double pan_x, double pan_y, double scale, double rotation) override
virtual void | OnPointerPanZoomEnd (int32_t device_id) override
void | OnText (const std::u16string &) override
void | OnKey (int key, int scancode, int action, char32_t character, bool extended, bool was_down, KeyEventCallback callback) override
void | OnComposeBegin () override
void | OnComposeCommit () override
void | OnComposeEnd () override
void | OnComposeChange (const std::u16string &text, int cursor_pos) override
void | OnScroll (double x, double y, double delta_x, double delta_y, int scroll_offset_multiplier, FlutterPointerDeviceKind device_kind, int32_t device_id) override
void | OnScrollInertiaCancel (int32_t device_id) override
virtual void | OnUpdateSemanticsEnabled (bool enabled) override
virtual gfx::NativeViewAccessible | GetNativeViewAccessible () override
virtual void | OnCursorRectUpdated (const Rect &rect)
virtual void | OnResetImeComposing ()
void | OnDwmCompositionChanged ()
ui::AXPlatformNodeWin * | AlertNode () const
virtual ui::AXFragmentRootDelegateWin * | GetAxFragmentRootDelegate () override
virtual void | UpdateSemanticsEnabled (bool enabled)
std::weak_ptr< AccessibilityBridgeWindows > | accessibility_bridge ()
void | OnWindowStateEvent (HWND hwnd, WindowStateEvent event) override

## Additional Inherited Members
Public Types inherited from flutter::WindowBindingHandlerDelegate
using | KeyEventCallback = std::function< void(bool)>
Protected Member Functions inherited from flutter::FlutterWindowsView
virtual void | NotifyWinEventWrapper (ui::AXPlatformNodeWin *node, ax::mojom::Event event)
virtual std::shared_ptr< AccessibilityBridgeWindows > | CreateAccessibilityBridge ()

## Detailed Description

Definition at line 619 of file flutter_windows_engine_unittests.cc.

## Constructor & Destructor Documentation

## ◆ MockFlutterWindowsView()

flutter::testing::MockFlutterWindowsView::MockFlutterWindowsView | ( | std::unique_ptr< WindowBindingHandler > | wbh | ) |
| inline

Definition at line 621 of file flutter_windows_engine_unittests.cc.

622 : FlutterWindowsView(std::move(wbh)) {}

## ◆ ~MockFlutterWindowsView()

flutter::testing::MockFlutterWindowsView::~MockFlutterWindowsView | ( |  | ) |
| inline

Definition at line 623 of file flutter_windows_engine_unittests.cc.

623 {}

## Member Function Documentation

## ◆ MOCK_METHOD() [1/2]

flutter::testing::MockFlutterWindowsView::MOCK_METHOD | ( | HWND | ,
|  | GetWindowHandle | ,
|  | () | ,
|  | (const, override) |
| ) |  |

## ◆ MOCK_METHOD() [2/2]

flutter::testing::MockFlutterWindowsView::MOCK_METHOD | ( | void | ,
|  | NotifyWinEventWrapper | ,
|  | (ui::AXPlatformNodeWin *, ax::mojom::Event) | ,
|  | (override) |
| ) |  |

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

- shell/platform/windows/flutter_windows_engine_unittests.cc

flutter::FlutterWindowsView::FlutterWindowsView
FlutterWindowsView(std::unique_ptr< WindowBindingHandler > window_binding, std::shared_ptr< WindowsProcTable > windows_proc_table=nullptr)
Definition: flutter_windows_view.cc:72