Minor stylistic cleanup in Windows platform (#35503)

This PR doesn't change any logic, it just cleans up some naming and
style in the windows platform layer.

* Rename `WindowsWindowStatePtr` to `WindowsWindowInner`, since it isn't
a pointer type.
* Move window event handler methods into an impl on this type, so that
all of the `state_ptr: &Rc<WindowsWindowInner>` parameters can just be
replaced with `&self`.
* In window creation, use a `match` instead of a conditional followed by
an unwrap

There's a lot of whitespace in the diff, so view it with `w=1`.

Release Notes:

- N/A
This commit is contained in:
Max Brunsfeld 2025-08-04 11:22:49 -07:00 committed by GitHub
parent 0ea4016e66
commit f3f2dba606
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 1233 additions and 1309 deletions

File diff suppressed because it is too large Load diff