Skip to content

[Windows] Move FlutterWindow mocking to WindowsProcTable  #140626

@loic-sharma

Description

@loic-sharma

Background

The FlutterWindow is one of the fundamental types of the Windows embedder. It listens to the Windows event loop, processes keyboard events, handles IME composition, accessibility, and more.

On top of all of this, it is also used to mock win32 APIs:

These are debatable candidates:

Solution

The WindowsProcTable was introduced to allow mocking win32 APIs. FlutterWindow methods that exist for mocking purposes should be moved to the WindowsProcTable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projecta: desktopRunning on desktopplatform-windowsBuilding on or for Windows specificallyteam-windowsOwned by the Windows platform teamtriaged-windowsTriaged by the Windows platform team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions