Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: make NativeWindow getter methods const #40804

Merged
merged 3 commits into from Jan 4, 2024

Conversation

ckerr
Copy link
Member

@ckerr ckerr commented Dec 20, 2023

Description of Change

Make the getter methods in NativeWindow (e.g. IsVisible(), IsMaximized(), etc.) const.

No particular stakeholders; all reviews welcome.

Checklist

Release Notes

Notes: none

@ckerr ckerr added semver/patch backwards-compatible bug fixes target/29-x-y PR should also be added to the "29-x-y" branch. labels Dec 20, 2023
@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Dec 20, 2023
@ckerr ckerr marked this pull request as draft December 21, 2023 16:45
@ckerr ckerr marked this pull request as ready for review December 21, 2023 22:59
@ckerr ckerr removed the new-pr 🌱 PR opened in the last 24 hours label Dec 22, 2023
@electron-cation electron-cation bot added new-pr 🌱 PR opened in the last 24 hours and removed new-pr 🌱 PR opened in the last 24 hours labels Dec 22, 2023
@ckerr ckerr force-pushed the refactor/constify-native-window-methods branch from 94962ce to 56931cd Compare January 3, 2024 16:26
Copy link
Contributor

@jkleinsc jkleinsc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ckerr ckerr merged commit f229201 into main Jan 4, 2024
16 checks passed
@ckerr ckerr deleted the refactor/constify-native-window-methods branch January 4, 2024 15:52
Copy link

release-clerk bot commented Jan 4, 2024

No Release Notes

@trop
Copy link
Contributor

trop bot commented Jan 4, 2024

I was unable to backport this PR to "29-x-y" cleanly;
you will need to perform this backport manually.

@trop trop bot added needs-manual-bp/29-x-y and removed target/29-x-y PR should also be added to the "29-x-y" branch. labels Jan 4, 2024
ckerr added a commit that referenced this pull request Jan 4, 2024
* refactor: make NativeWindow getter methods const

* fixup! refactor: make NativeWindow getter methods const

make GetZOrderLevel() const

* fixup! refactor: make NativeWindow getter methods const

fix oops
@trop
Copy link
Contributor

trop bot commented Jan 4, 2024

@ckerr has manually backported this PR to "29-x-y", please check out #40887

ckerr added a commit that referenced this pull request Jan 4, 2024
* refactor: make NativeWindow getter methods const

* fixup! refactor: make NativeWindow getter methods const

make GetZOrderLevel() const

* fixup! refactor: make NativeWindow getter methods const

fix oops
@trop trop bot added merged/29-x-y PR was merged to the "29-x-y" branch. and removed in-flight/29-x-y labels Jan 5, 2024
codebytere pushed a commit that referenced this pull request Jan 5, 2024
refactor: make NativeWindow getter methods const (#40804)

* refactor: make NativeWindow getter methods const

* fixup! refactor: make NativeWindow getter methods const

make GetZOrderLevel() const

* fixup! refactor: make NativeWindow getter methods const

fix oops
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged/29-x-y PR was merged to the "29-x-y" branch. semver/patch backwards-compatible bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants