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

feat: enable windows control overlay on Windows #30887

Merged
merged 13 commits into from
Sep 23, 2021

Conversation

mlaurencin
Copy link
Contributor

Backport of #29600.

See that PR for details.

Notes: Added support for Windows Control Overlay on Windows.

@mlaurencin mlaurencin requested a review from a team as a code owner September 8, 2021 21:09
@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Sep 8, 2021
@trop trop bot added 13-x-y backport This is a backport PR backport/requested 🗳 semver/minor backwards-compatible functionality labels Sep 8, 2021
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Sep 8, 2021
Copy link
Member

@MarshallOfSound MarshallOfSound left a comment

Choose a reason for hiding this comment

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

Approved by @electron/wg-releases, but I want to review the actual patch files before approve-approving

@mlaurencin mlaurencin requested a review from a team September 8, 2021 23:49
jkleinsc and others added 6 commits September 15, 2021 15:48
* feat: enable windows control overlay on macOS

* address review feedback

* chore: address review feedback

* Address review feedback

* update doc per review

* only enable WCO when titleBarStyle is overlay

* Revert "only enable WCO when titleBarStyle is overlay"

This reverts commit 1b58b5b.

* Add new titleBarOverlay property to manage feature

* spelling fix

* Update docs/api/frameless-window.md

Co-authored-by: Samuel Attard <sam@electronjs.org>

* Update shell/browser/api/electron_api_browser_window.cc

Co-authored-by: Samuel Attard <sam@electronjs.org>

* update per review feedback

Co-authored-by: Samuel Attard <sam@electronjs.org>
(cherry picked from commit 1f8a46c)
cherry-picked from 41646d1

Co-Authored-By: Michaela Laurencin <35157522+mlaurencin@users.noreply.github.com>

Co-authored-by: Michaela Laurencin <35157522+mlaurencin@users.noreply.github.com>
shell/browser/native_window_mac.mm Outdated Show resolved Hide resolved
@zcbenz
Copy link
Member

zcbenz commented Sep 23, 2021

This PR requires review from @electron/wg-upgrades.

Copy link
Member

@deepak1556 deepak1556 left a comment

Choose a reason for hiding this comment

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

@mlaurencin are the chromium patches direct backports or did you have to make any modifications ?

@mlaurencin
Copy link
Contributor Author

@mlaurencin are the chromium patches direct backports or did you have to make any modifications ?

The chromium patches were just directly backported with no modifications.

@deepak1556 deepak1556 merged commit d0ba8d1 into 13-x-y Sep 23, 2021
@deepak1556 deepak1556 deleted the window-controls-overlay-add-13 branch September 23, 2021 20:04
@release-clerk
Copy link

release-clerk bot commented Sep 23, 2021

Release Notes Persisted

Added support for Windows Control Overlay on Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
13-x-y backport/approved ✅ backport This is a backport PR semver/minor backwards-compatible functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants