#47156: refactor: make NativeWindow::has_client_frame_
const
Merged
Description of Change
Part of a general refactoring of NativeWindow
to lock down its API, e.g. changing members from public to non-public and/or making them const.
This PR makes NativeWindow::has_client_frame_
a const
field since it never changes.
Checklist
- PR description included and stakeholders cc'd
-
npm test
passes - PR release notes describe the change in a way relevant to app developers, and are capitalized, punctuated, and past tense.
Release Notes
Notes: none.
Backports
36-x-y
MergedPR Number
#47179Merged At
May 20, 2025, 9:02:35 PM
Released In
v36.3.0Release Date
May 22, 2025, 8:18:58 AM
37-x-y
MergedPR Number
#47180Merged At
May 21, 2025, 4:44:36 AM
Released In
v37.0.0-alpha.6Release Date
May 22, 2025, 10:18:26 AM
Semver Impact
Major
Breaking changes
Minor
New features
Patch
Bug fixes
None
Docs, tests, etc.
Semantic Versioning helps users understand the impact of updates:
- Major (X.y.z): Breaking changes that may require code modifications
- Minor (x.Y.z): New features that maintain backward compatibility
- Patch (x.y.Z): Bug fixes that don't change the API
- None: Changes that don't affect using facing parts of Electron