-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Open
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projecta: desktopRunning on desktopRunning on desktopplatform-windowsBuilding on or for Windows specificallyBuilding on or for Windows specificallyteam-windowsOwned by the Windows platform teamOwned by the Windows platform teamtriaged-windowsTriaged by the Windows platform teamTriaged by the Windows platform team
Description
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:
- Get DWM composition status ([Windows] Move DWM composition status to Windows proc table for mocking engine#49397)
- Flush DWM ([Windows] Move DWM flush to Windows proc table for mocking engine#49398)
- Peek and send win32 messages
- Map virtual key
- Default window procedure
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
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projecta: desktopRunning on desktopRunning on desktopplatform-windowsBuilding on or for Windows specificallyBuilding on or for Windows specificallyteam-windowsOwned by the Windows platform teamOwned by the Windows platform teamtriaged-windowsTriaged by the Windows platform teamTriaged by the Windows platform team