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

API Review: Window management permission #3209

Merged
merged 1 commit into from
Feb 15, 2023

Conversation

vickiez
Copy link
Contributor

@vickiez vickiez commented Feb 9, 2023

No description provided.

@vickiez vickiez added the API Proposal Review WebView2 API Proposal for review. label Feb 9, 2023
@vickiez vickiez requested a review from david-risney February 9, 2023 19:37
Copy link
Contributor

@david-risney david-risney left a comment

Choose a reason for hiding this comment

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

Looks good, thanks!

@vickiez vickiez merged commit 9a2ed2b into main Feb 15, 2023
/// Indicates permission to open and place windows on the screen. Permission is
/// requested when developers use the [Multi-Screen Window Placement API](https://www.w3.org/TR/window-placement/)
/// to get screen details.
COREWEBVIEW2_PERMISSION_KIND_WINDOW_MANAGEMENT,
Copy link
Contributor

Choose a reason for hiding this comment

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

Any reason to call this 'management' rather than 'placement'? The underlying feature is placement, and management implies more than that.

Copy link
Contributor

Choose a reason for hiding this comment

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

The permission in the DOM APIs is called window-management . They renamed it from window-placement to window-management to cover more than just placement for the API (ref).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Proposal Review WebView2 API Proposal for review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants