#47172: refactor: make NativeWindow::transparent_
const
Merged
Description of Change
Companion refactor to #47156 that makes more fields const. This PR:
- Makes
NativeWindow::enable_larger_than_screen_
const - Makes
NativeWindow::transparent_
const - Annotates
NativeWindow::enable_larger_than_screen()
as[[nodiscard]]
- Annotates
NativeWindow::transparent()
as[[nodiscard]]
- Uses in-class member initialization for
NativeWindow::widget_
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
35-x-y
MergedPR Number
#47197Merged At
May 22, 2025, 11:16:43 AM
Released In
v35.5.0Release Date
May 28, 2025, 11:03:13 AM
36-x-y
MergedPR Number
#47199Merged At
May 21, 2025, 3:50:00 PM
Released In
v36.3.0Release Date
May 22, 2025, 8:18:58 AM
37-x-y
MergedPR Number
#47198Merged At
May 21, 2025, 3:32:52 PM
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